summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-23 16:12:12 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-23 16:12:12 -0400
commit9601eab67058faa8653532c3bdadaf11543f047f (patch)
tree7e910a7502673a610d7d25edc556e604dbf327f6 /~lukeshu
parent1fc39b5be3f6b89ce2a026442a9dd0b31701c4a4 (diff)
downloadabslibre-9601eab67058faa8653532c3bdadaf11543f047f.tar.gz
abslibre-9601eab67058faa8653532c3bdadaf11543f047f.tar.bz2
abslibre-9601eab67058faa8653532c3bdadaf11543f047f.zip
~lukeshu/emacsutils-git: whoops, set libexecdir=$(libdir)
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/emacsutils-git/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/~lukeshu/emacsutils-git/PKGBUILD b/~lukeshu/emacsutils-git/PKGBUILD
index 4553d9c38..fc4037337 100644
--- a/~lukeshu/emacsutils-git/PKGBUILD
+++ b/~lukeshu/emacsutils-git/PKGBUILD
@@ -13,7 +13,7 @@ license=('GPL3')
provides=("$_pkgname=$_pkgver")
conflicts=("$_pkgname")
-pkgrel=1
+pkgrel=2
arch=('any')
depends=('emacs')
@@ -30,12 +30,18 @@ mksource() {
mv "$_pkgname"-*/ ../"$pkgname-$pkgver"
}
+_config=(
+ VERSION=${_pkgver}.${pkgver}
+ prefix=/usr
+ libexecdir='$(libdir)'
+)
+
build() {
cd "$srcdir/$pkgname-$pkgver"
- make VERSION=${_pkgver}.${pkgver} prefix=/usr
+ make "${_config[@]}"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make install VERSION=${_pkgver}.${pkgver} prefix=/usr DESTDIR="$pkgdir"
+ make "${_config[@]}" install DESTDIR="$pkgdir"
}