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:
authorDave Reisner <dreisner@archlinux.org>2013-03-10 15:56:12 -0400
committerAllan McRae <allan@archlinux.org>2013-09-04 09:51:20 +1000
commit5f80d7afbd45100f5b5d28e43a9d9a80dde4b559 (patch)
tree205d2a8cd577b37305692a172606b349143812fb /proto/PKGBUILD.proto
parent8a72761743d746ed0a9b8b1201672e8ea0b8af4d (diff)
proto: remove redundancy in cd for each function
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'proto/PKGBUILD.proto')
-rw-r--r--proto/PKGBUILD.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/PKGBUILD.proto b/proto/PKGBUILD.proto
index 5b854ceb..1380a0f6 100644
--- a/proto/PKGBUILD.proto
+++ b/proto/PKGBUILD.proto
@@ -35,17 +35,17 @@ prepare() {
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
check() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
make -k check
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}