summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoribrokemypie2017-09-29 17:53:04 +1000
committeribrokemypie2017-09-29 17:53:04 +1000
commitb4bc5917d705ffee2d86f419505751618bc690f1 (patch)
tree5a195a806d4e01983f57ce9d904b041e3b7eae6a /PKGBUILD
parent648c8fe1920567104ec2f181484a6dc941783eb6 (diff)
downloadaur-b4bc5917d705ffee2d86f419505751618bc690f1.tar.gz
Fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 79907cce800..180ccc9d00b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: ibrokemypie <ibrokemypie@bastardi.net>
pkgname=i3lock-next-git
-pkgver=1
+pkgver=r66.def806c
pkgrel=1
pkgdesc="Create a fancy image to use with i3lock."
arch=('i686' 'x86_64')
@@ -23,9 +23,11 @@ pkgver() {
build() {
cd "$_name"
- make PREFIX="$pkgdir"
+ make DESTDIR="$pkgdir" PREFIX="/usr" LIBEXECDIR="/usr/lib"
}
package() {
cd "$_name"
- make PREFIX="$pkgdir" LIBEXECDIR="$pkgdir"/lib install
+ make DESTDIR="$pkgdir" PREFIX="/usr" LIBEXECDIR="/usr/lib" install
+ sed -i "s;/libexec/i3lock-next;/lib/$_name;" "$pkgdir/usr/bin/i3lock-next"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}