summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2019-07-22 19:47:16 +0200
committeractionless2019-07-22 19:47:16 +0200
commitadf8a078a6c5da6902e1c04ecae9b58b43692951 (patch)
tree6b9b154315c5274919a6958e20b7ebe57d2beb41
parent668885f4364e52fca568772b5293adce6b7f6b2a (diff)
downloadaur-adf8a078a6c5da6902e1c04ecae9b58b43692951.tar.gz
fix binaries and systemd unit dir
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e3e5a0a5b0b..d134b26f713 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nohang-git
pkgdesc = A highly configurable OOM prevention daemon
pkgver = 0.1.r413.gaf36cb2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/hakavlad/nohang
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 732b5f8d599..07afbdf352d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=nohang
pkgname=${_pkgname}-git
pkgver=0.1.r413.gaf36cb2
-pkgrel=1
+pkgrel=2
pkgdesc="A highly configurable OOM prevention daemon"
arch=('any')
url="https://github.com/hakavlad/nohang"
@@ -31,5 +31,9 @@ pkgver() {
package() {
cd "${srcdir}/${pkgname}" || exit 2
- make DESTDIR="${pkgdir}" install
+ make \
+ DESTDIR="${pkgdir}" \
+ BINDIR="/usr/bin" \
+ SYSTEMDUNITDIR="/usr/lib/systemd/system" \
+ install
}