index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-05-07 12:59:44 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-05-07 12:59:44 +1000 |
commit | 0f988beff8794338485352dc1beafbfcdbb20db1 (patch) | |
tree | e673c51058bddede4ef7f054e79c8ae799809628 /proto/PKGBUILD.proto | |
parent | c5716d0e72e47c8cd2ca1a437598eeee54111754 (diff) | |
parent | a4a7336dff8155cfeb37341d1e9e56092439bae6 (diff) |
-rw-r--r-- | proto/PKGBUILD.proto | 8 |
diff --git a/proto/PKGBUILD.proto b/proto/PKGBUILD.proto index 8e9ae047..d4c01b80 100644 --- a/proto/PKGBUILD.proto +++ b/proto/PKGBUILD.proto @@ -24,10 +24,16 @@ backup=() options=() install= changelog= -source=($pkgname-$pkgver.tar.gz) +source=($pkgname-$pkgver.tar.gz + $pkgname-$pkgver.patch) noextract=() md5sums=() #generate with 'makepkg -g' +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "$srcdir/$pkgname-$pkgver.patch" +} + build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr |