summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoribrokemypie2017-09-29 17:53:04 +1000
committeribrokemypie2017-09-29 17:53:04 +1000
commitb4bc5917d705ffee2d86f419505751618bc690f1 (patch)
tree5a195a806d4e01983f57ce9d904b041e3b7eae6a
parent648c8fe1920567104ec2f181484a6dc941783eb6 (diff)
downloadaur-b4bc5917d705ffee2d86f419505751618bc690f1.tar.gz
Fix
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bcf663fe573..83a66e9367b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = i3lock-next-git
pkgdesc = Create a fancy image to use with i3lock.
- pkgver = 1
+ pkgver = r66.def806c
pkgrel = 1
url = https://github.com/owenthewizard/i3lock-next
arch = i686
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
}