index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-10-03 13:41:54 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-14 12:59:49 +1000 |
commit | adfab9c89909c677467d390e44253a13c65aefcd (patch) | |
tree | 325d26426071e6a3c17c890c73e2cd69b0a5eeda /scripts/makepkg.sh.in | |
parent | 37242ceb309b05645c89980aa34c19f2251137e3 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 13 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 666ad596..30a162ec 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1782,15 +1782,6 @@ find_libprovides() { printf '%s\n' "${libprovides[@]}" } -check_license() { - # TODO maybe remove this at some point - # warn if license array is not present or empty - if [[ -z $license ]]; then - warning "$(gettext "Please add a license line to your %s!")" "$BUILDSCRIPT" - plain "$(gettext "Example for GPL\'ed software: %s.")" "license=('GPL')" - fi -} - write_pkginfo() { local builddate=$(date -u "+%s") if [[ -n $PACKAGER ]]; then @@ -1842,8 +1833,6 @@ write_pkginfo() { ;; esac done - - check_license } create_package() { @@ -1987,8 +1976,6 @@ create_srcpackage() { local srclinks="$(mktemp -d "$startdir"/srclinks.XXXXXXXXX)" mkdir "${srclinks}"/${pkgbase} - check_license - msg2 "$(gettext "Adding %s...")" "$BUILDSCRIPT" ln -s "${BUILDFILE}" "${srclinks}/${pkgbase}/${BUILDSCRIPT}" |