Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in35
1 files changed, 0 insertions, 35 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 11e64593..2d64997a 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -854,41 +854,6 @@ missing_source_file() {
exit 1 # $E_MISSING_FILE
}
-##
-# usage : get_full_version()
-# return : full version spec, including epoch (if necessary), pkgver, pkgrel
-##
-get_full_version() {
- if (( epoch > 0 )); then
- printf "%s\n" "$epoch:$pkgver-$pkgrel"
- else
- printf "%s\n" "$pkgver-$pkgrel"
- fi
-}
-
-##
-# usage : get_pkg_arch( [$pkgname] )
-# return : architecture of the package
-##
-get_pkg_arch() {
- if [[ -z $1 ]]; then
- if [[ $arch = "any" ]]; then
- printf "%s\n" "any"
- else
- printf "%s\n" "$CARCH"
- fi
- else
- local arch_override
- get_pkgbuild_attribute "$1" arch 1 arch_override
- (( ${#arch_override[@]} == 0 )) && arch_override=("${arch[@]}")
- if [[ $arch_override = "any" ]]; then
- printf "%s\n" "any"
- else
- printf "%s\n" "$CARCH"
- fi
- fi
-}
-
source_has_signatures() {
local file all_sources