summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-07-05 18:42:40 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-07-05 18:42:40 (GMT)
commitcb62d17450b7cc365a7bdbe0dac232af4d22faab (patch)
tree5029982da03bd17140e88bd9a504e442c98c3b94 /abs/core/pacman/PKGBUILD
parentd39f95aa83e0f76ab255322fbfcd35b23236f0a7 (diff)
downloadlinhes_pkgbuild-cb62d17450b7cc365a7bdbe0dac232af4d22faab.zip
linhes_pkgbuild-cb62d17450b7cc365a7bdbe0dac232af4d22faab.tar.gz
linhes_pkgbuild-cb62d17450b7cc365a7bdbe0dac232af4d22faab.tar.bz2
pacman: add makepkg asroot patch
Diffstat (limited to 'abs/core/pacman/PKGBUILD')
-rw-r--r--abs/core/pacman/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/abs/core/pacman/PKGBUILD b/abs/core/pacman/PKGBUILD
index f2d4507..a0cbdc2 100644
--- a/abs/core/pacman/PKGBUILD
+++ b/abs/core/pacman/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=pacman
pkgver=4.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A library-based package manager with dependency support"
arch=('i686' 'x86_64')
url="http://www.archlinux.org/pacman/"
@@ -21,18 +21,18 @@ replaces=('pacman-contrib')
backup=(etc/pacman.conf etc/makepkg.conf)
install=pacman.install
options=('strip' 'debug')
-source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig}
+source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
pacman.conf.i686
pacman.conf.x86_64
- makepkg.conf)
+ makepkg.conf
+ makepkg-asroot.patch)
md5sums=('2a596fc8f723e99660c0869a74afcf47'
- 'SKIP'
'2db6c94709bb30cc614a176ecf8badb1'
'de74a13618347f08ae4a9637f74471c4'
- '03d578816b56852d803cbafac85b9f09')
+ '03d578816b56852d803cbafac85b9f09'
+ 'bd3319d98bfc9560b0a765241f9ad80c')
validpgpkeys=('6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD') # Allan McRae <allan@archlinux.org>
-
build() {
cd "$pkgname-$pkgver"
@@ -88,4 +88,8 @@ package() {
done
install -Dm644 contrib/PKGBUILD.vim "$pkgdir/usr/share/vim/vimfiles/syntax/PKGBUILD.vim"
+
+ #restore --asroot makepkg option
+ cd $pkgdir/usr/bin/
+ patch -p0 -i $srcdir/makepkg-asroot.patch
}