diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-07-15 18:48:24 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-07-15 18:48:24 (GMT) |
commit | 9768a70e6845b39e4b61f494aedc8f0c5757834c (patch) | |
tree | beaedcbcda1454ab88bf0cc09ede584e01848509 /abs/core/pacman/PKGBUILD | |
parent | 8818abda9545c04ebf135fef63a2baa7ebec9e49 (diff) | |
download | linhes_pkgbuild-9768a70e6845b39e4b61f494aedc8f0c5757834c.zip linhes_pkgbuild-9768a70e6845b39e4b61f494aedc8f0c5757834c.tar.gz linhes_pkgbuild-9768a70e6845b39e4b61f494aedc8f0c5757834c.tar.bz2 |
pacman: automate updating pacman db
Diffstat (limited to 'abs/core/pacman/PKGBUILD')
-rw-r--r-- | abs/core/pacman/PKGBUILD | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/abs/core/pacman/PKGBUILD b/abs/core/pacman/PKGBUILD index a0cbdc2..e592ff5 100644 --- a/abs/core/pacman/PKGBUILD +++ b/abs/core/pacman/PKGBUILD @@ -5,7 +5,7 @@ pkgname=pacman pkgver=4.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="A library-based package manager with dependency support" arch=('i686' 'x86_64') url="http://www.archlinux.org/pacman/" @@ -25,12 +25,8 @@ source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz pacman.conf.i686 pacman.conf.x86_64 makepkg.conf - makepkg-asroot.patch) -md5sums=('2a596fc8f723e99660c0869a74afcf47' - '2db6c94709bb30cc614a176ecf8badb1' - 'de74a13618347f08ae4a9637f74471c4' - '03d578816b56852d803cbafac85b9f09' - 'bd3319d98bfc9560b0a765241f9ad80c') + makepkg-asroot.patch + pacman.cron) validpgpkeys=('6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD') # Allan McRae <allan@archlinux.org> build() { @@ -91,5 +87,15 @@ package() { #restore --asroot makepkg option cd $pkgdir/usr/bin/ - patch -p0 -i $srcdir/makepkg-asroot.patch + patch -p0 -i "$srcdir/makepkg-asroot.patch" + + #run pacman-db-upgrade from cron + mkdir -p "$pkgdir/usr/MythVantage/bin" + install -m 0644 "$srcdir/pacman.cron" "$pkgdir/usr/MythVantage/bin/pacman.cron" } +md5sums=('2a596fc8f723e99660c0869a74afcf47' + '2db6c94709bb30cc614a176ecf8badb1' + 'de74a13618347f08ae4a9637f74471c4' + '03d578816b56852d803cbafac85b9f09' + 'bd3319d98bfc9560b0a765241f9ad80c' + 'd62e10ea6cc7ae617ba1a99d8f11eaf5') |