summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2019-12-20 22:32:39 +0100
committeractionless2019-12-20 22:32:39 +0100
commit4ee1234f8cad4280379508c28122f22eb77696d8 (patch)
tree2feb8c6d23583dee5e20166108cf402a63f1d5b0
parentadf8a078a6c5da6902e1c04ecae9b58b43692951 (diff)
downloadaur-4ee1234f8cad4280379508c28122f22eb77696d8.tar.gz
update packaging, ref: https://github.com/hakavlad/nohang/issues/8#issuecomment-567909073 https://github.com/hakavlad/nohang/issues/8#issuecomment-567910181
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d134b26f713..185be48a354 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nohang-git
pkgdesc = A highly configurable OOM prevention daemon
- pkgver = 0.1.r413.gaf36cb2
+ pkgver = 0.1.r539.g8e36ec5
pkgrel = 2
url = https://github.com/hakavlad/nohang
arch = any
@@ -8,8 +8,10 @@ pkgbase = nohang-git
depends = python
optdepends = libnotify: to show GUI notifications
optdepends = sudo: to show GUI notifications if nohang started with UID=0
+ optdepends = logrotate: maintaining a separate log is one of the options
conflicts = nohang
backup = etc/nohang/nohang.conf
+ backup = etc/nohang/nohang-desktop.conf
source = nohang-git::git+https://github.com/hakavlad/nohang.git#branch=master
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 07afbdf352d..50bc62a09be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=nohang
pkgname=${_pkgname}-git
-pkgver=0.1.r413.gaf36cb2
+pkgver=0.1.r539.g8e36ec5
pkgrel=2
pkgdesc="A highly configurable OOM prevention daemon"
arch=('any')
@@ -19,9 +19,13 @@ depends=(
optdepends=(
'libnotify: to show GUI notifications'
'sudo: to show GUI notifications if nohang started with UID=0'
+ 'logrotate: maintaining a separate log is one of the options'
)
conflicts=("${_pkgname}")
-backup=('etc/nohang/nohang.conf')
+backup=(
+ 'etc/nohang/nohang.conf'
+ 'etc/nohang/nohang-desktop.conf'
+)
pkgver() {
cd "${srcdir}/${pkgname}" || exit 2