[arch-commits] Commit in earlyoom/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Tue Apr 14 22:13:34 UTC 2020


    Date: Tuesday, April 14, 2020 @ 22:13:33
  Author: mtorromeo
Revision: 614329

upgpkg: earlyoom 1.6-1

Modified:
  earlyoom/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-14 22:13:12 UTC (rev 614328)
+++ PKGBUILD	2020-04-14 22:13:33 UTC (rev 614329)
@@ -1,21 +1,23 @@
 # Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
 
 pkgname=earlyoom
-pkgver=1.5
-pkgrel=2
+pkgver=1.6
+pkgrel=1
 pkgdesc="Early OOM Daemon for Linux"
 arch=('x86_64')
 url="https://github.com/rfjakob/earlyoom"
 license=('MIT')
 makedepends=('pandoc')
+opedepends=('systembus-notify: desktop notifications')
 backup=("etc/default/earlyoom")
 source=("https://github.com/rfjakob/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('55b71800e878a01325951c904fa45d345b83440123c7dcbce1c47ff49326ea91')
+sha256sums=('b81804fc4470f996014d52252a87a1cf3b43d3d8754140035b10dcee349302b8')
 
 prepare() {
     cd "$pkgname-$pkgver"
     sed "/systemctl|chcon/d" -ri Makefile
     sed '/^DynamicUser=/a SupplementaryGroups=proc' -i earlyoom.service.in
+    sed 's;^EARLYOOM_ARGS="(.*)";EARLYOOM_ARGS="\1 -n --avoid '\''(^|/)(init|systemd|Xorg|sshd)$'\''";' -ri earlyoom.default
 }
 
 build() {


More information about the arch-commits mailing list