diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-30 14:30:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-30 14:30:17 +0000 |
commit | 246735512b73a6147c8626a9ac817d47be02d3dd (patch) | |
tree | 9723e9748d175e3df293562940867ef063ec72e4 /testing/sxhkd | |
parent | f26a8f703c3c6f977b5fb6aa058b1e8d2e869575 (diff) | |
download | aports-246735512b73a6147c8626a9ac817d47be02d3dd.tar.bz2 aports-246735512b73a6147c8626a9ac817d47be02d3dd.tar.xz |
testing/sxhkd: set prefix as arg instead of using sed
Diffstat (limited to 'testing/sxhkd')
-rw-r--r-- | testing/sxhkd/APKBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/testing/sxhkd/APKBUILD b/testing/sxhkd/APKBUILD index 5055f5d68d..a3bd9cc73d 100644 --- a/testing/sxhkd/APKBUILD +++ b/testing/sxhkd/APKBUILD @@ -23,20 +23,16 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - - # Fix $PREFIX - cd "$_builddir" - sed -i 's#^PREFIX.*#PREFIX ?= /usr#' Makefile } build() { cd "$_builddir" - make + make PREFIX=/usr } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 # Copy examples mkdir "$pkgdir"/usr/share/$pkgname cp -r examples "$pkgdir"/usr/share/$pkgname |