Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/proto/PKGBUILD.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/PKGBUILD.proto')
-rw-r--r--proto/PKGBUILD.proto8
1 files changed, 7 insertions, 1 deletions
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