mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
makepkg: remove ability to build individual packages
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
0adb74b293
commit
e8deba3b87
@ -156,10 +156,6 @@ Options
|
|||||||
such as a chroot or remote builder. It will also satisfy requirements of
|
such as a chroot or remote builder. It will also satisfy requirements of
|
||||||
the GPL when distributing binary packages.
|
the GPL when distributing binary packages.
|
||||||
|
|
||||||
*\--pkg* <list>::
|
|
||||||
Only build listed packages from a split package. Multiple packages should
|
|
||||||
be comma separated in the list. This option can be specified multiple times.
|
|
||||||
|
|
||||||
*\--check*::
|
*\--check*::
|
||||||
Run the check() function in the PKGBUILD, overriding the setting in
|
Run the check() function in the PKGBUILD, overriding the setting in
|
||||||
linkman:makepkg.conf[5].
|
linkman:makepkg.conf[5].
|
||||||
|
@ -76,7 +76,6 @@ NOBUILD=0
|
|||||||
NODEPS=0
|
NODEPS=0
|
||||||
NOEXTRACT=0
|
NOEXTRACT=0
|
||||||
PKGFUNC=0
|
PKGFUNC=0
|
||||||
PKGLIST=()
|
|
||||||
PKGVERFUNC=0
|
PKGVERFUNC=0
|
||||||
PREPAREFUNC=0
|
PREPAREFUNC=0
|
||||||
REPKG=0
|
REPKG=0
|
||||||
@ -1718,7 +1717,6 @@ usage() {
|
|||||||
printf -- "$(gettext " --noprepare Do not run the %s function in the %s")\n" "prepare()" "$BUILDSCRIPT"
|
printf -- "$(gettext " --noprepare Do not run the %s function in the %s")\n" "prepare()" "$BUILDSCRIPT"
|
||||||
printf -- "$(gettext " --nosign Do not create a signature for the package")\n"
|
printf -- "$(gettext " --nosign Do not create a signature for the package")\n"
|
||||||
printf -- "$(gettext " --packagelist Only list packages that would be produced, without PKGEXT")\n"
|
printf -- "$(gettext " --packagelist Only list packages that would be produced, without PKGEXT")\n"
|
||||||
printf -- "$(gettext " --pkg <list> Only build listed packages from a split package")\n"
|
|
||||||
printf -- "$(gettext " --printsrcinfo Print the generated SRCINFO and exit")\n"
|
printf -- "$(gettext " --printsrcinfo Print the generated SRCINFO and exit")\n"
|
||||||
printf -- "$(gettext " --sign Sign the resulting package with %s")\n" "gpg"
|
printf -- "$(gettext " --sign Sign the resulting package with %s")\n" "gpg"
|
||||||
printf -- "$(gettext " --skipchecksums Do not verify checksums of the source files")\n"
|
printf -- "$(gettext " --skipchecksums Do not verify checksums of the source files")\n"
|
||||||
@ -1808,7 +1806,6 @@ while true; do
|
|||||||
--nosign) SIGNPKG='n' ;;
|
--nosign) SIGNPKG='n' ;;
|
||||||
-o|--nobuild) NOBUILD=1 ;;
|
-o|--nobuild) NOBUILD=1 ;;
|
||||||
-p) shift; BUILDFILE=$1 ;;
|
-p) shift; BUILDFILE=$1 ;;
|
||||||
--pkg) shift; IFS=, read -ra p <<<"$1"; PKGLIST+=("${p[@]}"); unset p ;;
|
|
||||||
--packagelist) PACKAGELIST=1 IGNOREARCH=1;;
|
--packagelist) PACKAGELIST=1 IGNOREARCH=1;;
|
||||||
--printsrcinfo) PRINTSRCINFO=1 ;;
|
--printsrcinfo) PRINTSRCINFO=1 ;;
|
||||||
-r|--rmdeps) RMDEPS=1 ;;
|
-r|--rmdeps) RMDEPS=1 ;;
|
||||||
@ -2060,11 +2057,6 @@ elif [[ $SPLITPKG -eq 0 ]] && have_function package_${pkgname}; then
|
|||||||
SPLITPKG=1
|
SPLITPKG=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${PKGLIST[@]}" ]]; then
|
|
||||||
unset pkgname
|
|
||||||
pkgname=("${PKGLIST[@]}")
|
|
||||||
fi
|
|
||||||
|
|
||||||
# check if gpg signature is to be created and if signing key is valid
|
# check if gpg signature is to be created and if signing key is valid
|
||||||
if { [[ -z $SIGNPKG ]] && check_buildenv "sign" "y"; } || [[ $SIGNPKG == 'y' ]]; then
|
if { [[ -z $SIGNPKG ]] && check_buildenv "sign" "y"; } || [[ $SIGNPKG == 'y' ]]; then
|
||||||
SIGNPKG='y'
|
SIGNPKG='y'
|
||||||
|
Loading…
Reference in New Issue
Block a user