summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2018-12-01 23:27:07 +0100
committeractionless2018-12-01 23:27:07 +0100
commitfdf7f2ead3cae00f584a1bbf147af740abf46e37 (patch)
treec551d533918203635e6574a2a24ef08fd9be9114
parent939c0c717ef7aef3218bd294059891c66dadeed3 (diff)
downloadaur-fdf7f2ead3cae00f584a1bbf147af740abf46e37.tar.gz
realign /sbin and /lib according to arch packaging
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 24353c81ee9..19f03329461 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nohang-git
pkgdesc = A highly configurable OOM preventer
- pkgver = 0.1.r2.ga8cde7c
+ pkgver = 0.1.r23.g14ea665
pkgrel = 1
url = https://github.com/hakavlad/nohang
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index cb65881dc76..d70d8b7f2c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=nohang
pkgname=${_pkgname}-git
-pkgver=0.1.r2.ga8cde7c
+pkgver=0.1.r23.g14ea665
pkgrel=1
pkgdesc="A highly configurable OOM preventer"
arch=('any')
@@ -34,7 +34,13 @@ package() {
cd "${srcdir}/${pkgname}" || exit 2
make DESTDIR="${pkgdir}" install
+ # Realign files in Arch packaging style:
+
cd "${pkgdir}"
- mv usr/sbin usr/bin
- mv lib usr/lib
+
+ mv usr/sbin/* usr/bin
+ rm -r usr/sbin
+
+ mv lib/* usr/lib
+ rm -r lib
}