summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto/PKGBUILD-split.proto8
-rw-r--r--proto/PKGBUILD.proto6
2 files changed, 7 insertions, 7 deletions
diff --git a/proto/PKGBUILD-split.proto b/proto/PKGBUILD-split.proto
index 54e55579..fb4ca7b8 100644
--- a/proto/PKGBUILD-split.proto
+++ b/proto/PKGBUILD-split.proto
@@ -35,13 +35,13 @@ prepare() {
}
build() {
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$pkgbase-$pkgver"
./configure --prefix=/usr
make
}
check() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
make -k check
}
@@ -65,7 +65,7 @@ package_pkg1() {
install=
changelog=
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$pkgbase-$pkgver"
make DESTDIR="$pkgdir/" install-pkg1
}
@@ -73,6 +73,6 @@ package_pkg2() {
# options and directives overrides
pkgdesc=""
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$pkgbase-$pkgver"
make DESTDIR="$pkgdir/" install-pkg2
}
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
}