summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-12-18 15:16:27 +0000
committerEric Engestrom2018-12-18 15:16:27 +0000
commit4fa7fd4dd72f61ea25fbb8047d5b2847b08d87a1 (patch)
tree76814b466bfb61a6ab479171f3ee760f70b6678c
parent7b99344c7860fdaed7f503fd24e7066dc281b896 (diff)
downloadaur-4fa7fd4dd72f61ea25fbb8047d5b2847b08d87a1.tar.gz
HACK: put DESTDIR inside the prefix as it's the only solution supported on BSD
-rw-r--r--PKGBUILD12
1 files changed, 2 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1a83200acbb..dff90a86265 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ pkgver() {
prepare() {
cd pkgcenter/depend/cmb
- ./configure --prefix /usr
+ ./configure --prefix "$pkgdir/usr"
}
build() {
@@ -32,13 +32,5 @@ build() {
package() {
cd pkgcenter/depend/cmb
-
- # Disabled for now because DESTDIR isn't respected
- #DESTDIR="$pkgdir" make install
-
- install -dm755 "$pkgdir"/usr/bin
- install -m755 cmb "$pkgdir"/usr/bin/
-
- install -dm755 "$pkgdir"/usr/share/man/man1
- install -m444 cmb.1.gz "$pkgdir"/usr/share/man/man1/
+ make install
}