summaryrefslogtreecommitdiffstats
path: root/proto/PKGBUILD-split.proto
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-05-07 12:59:44 +1000
committerAllan McRae <allan@archlinux.org>2013-05-07 12:59:44 +1000
commit0f988beff8794338485352dc1beafbfcdbb20db1 (patch)
treee673c51058bddede4ef7f054e79c8ae799809628 /proto/PKGBUILD-split.proto
parentc5716d0e72e47c8cd2ca1a437598eeee54111754 (diff)
parenta4a7336dff8155cfeb37341d1e9e56092439bae6 (diff)
downloadpacman-0f988beff8794338485352dc1beafbfcdbb20db1.tar.xz
Merge branch 'maint'
Diffstat (limited to 'proto/PKGBUILD-split.proto')
-rw-r--r--proto/PKGBUILD-split.proto8
1 files changed, 7 insertions, 1 deletions
diff --git a/proto/PKGBUILD-split.proto b/proto/PKGBUILD-split.proto
index 42c469c7..672e7dfb 100644
--- a/proto/PKGBUILD-split.proto
+++ b/proto/PKGBUILD-split.proto
@@ -24,10 +24,16 @@ backup=()
options=()
install=
changelog=
-source=($pkgbase-$pkgver.tar.gz)
+source=($pkgbase-$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/$pkgbase-$pkgver"
./configure --prefix=/usr