summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Avramov2020-05-14 01:15:23 +0900
committerAlexey Avramov2020-05-14 01:15:23 +0900
commit9643b09b22b8aa0f0a9f0bfdb5f7bb6aec57540b (patch)
tree9ad1e86dc6abd029eb8562ee807d70b85423f466
parentc2b0c0da74850c7fc5928b8258dbe42978d09585 (diff)
downloadaur-9643b09b22b8aa0f0a9f0bfdb5f7bb6aec57540b.tar.gz
Fix PKGBUILD: add PREFIX
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab399e59c1a..bda5ba3a23d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nohang-git
pkgdesc = A sophisticated low memory handler
- pkgver = 0.1.r622.g16f7db1
- pkgrel = 2
+ pkgver = 0.1.r638.g3f34a93
+ pkgrel = 1
url = https://github.com/hakavlad/nohang
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 11f8872363c..8f748918c04 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_pkgname=nohang
pkgname=${_pkgname}-git
-pkgver=0.1.r622.g16f7db1
-pkgrel=2
+pkgver=0.1.r638.g3f34a93
+pkgrel=1
pkgdesc="A sophisticated low memory handler"
arch=('any')
url="https://github.com/hakavlad/nohang"
@@ -38,9 +38,8 @@ package() {
cd "${srcdir}/${pkgname}" || exit 2
make \
DESTDIR="${pkgdir}" \
- BINDIR="/usr/bin" \
- CONFDIR="/etc" \
+ PREFIX="/usr" \
+ SYSCONFDIR="/etc" \
SYSTEMDUNITDIR="/usr/lib/systemd/system" \
- MANDIR="/usr/share/man/man1" \
install
}