core/pacman to 5.0.2-2.1

This commit is contained in:
Kevin Mihelich 2017-08-13 17:19:26 +00:00
parent d8e425d1d3
commit 672f5af92b

View file

@ -6,13 +6,13 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - arch/host/flags for arm, armv6h, armv7h, and aarch64 # - arch/host/flags for arm, armv6h, armv7h, and aarch64
# - pacman.conf: architecture=arm/armv6h/armv7h/aarch64, added our aur and alarm repos # - pacman.conf: architecture=arm/armv6h/armv7h/aarch64, added our aur and alarm repos
# - makepkg.conf: adjusted C/CXX/LDFLAGS # - makepkg.conf: adjusted C/CXX/LDFLAGS, drop -z,now for armv5
# - patch to sync filesystem after install/remove # - patch to sync filesystem after install/remove
# - reverts to allow scriplet input on stdin # - reverts to allow scriplet input on stdin
pkgname=pacman pkgname=pacman
pkgver=5.0.2 pkgver=5.0.2
pkgrel=2 pkgrel=2.1
pkgdesc="A library-based package manager with dependency support" pkgdesc="A library-based package manager with dependency support"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.archlinux.org/pacman/" url="http://www.archlinux.org/pacman/"
@ -107,6 +107,7 @@ package() {
-e "s|@CHOST[@]|$mychost|g" \ -e "s|@CHOST[@]|$mychost|g" \
-e "s|@CARCHFLAGS[@]|$myflags|g" -e "s|@CARCHFLAGS[@]|$myflags|g"
sed -i $pkgdir/etc/pacman.conf -e "s|@CARCH[@]|$mycarch|g" sed -i $pkgdir/etc/pacman.conf -e "s|@CARCH[@]|$mycarch|g"
[[ $CARCH == "arm" ]] && sed -i 's/,-z,now//' "$pkgdir/etc/makepkg.conf"
# put bash_completion in the right location # put bash_completion in the right location
install -dm755 "$pkgdir/usr/share/bash-completion/completions" install -dm755 "$pkgdir/usr/share/bash-completion/completions"