[arch-commits] Commit in earlyoom/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Tuesday, April 14, 2020 @ 22:13:44
  Author: mtorromeo
Revision: 614331

archrelease: copy trunk to community-x86_64

Added:
  earlyoom/repos/community-x86_64/PKGBUILD
    (from rev 614329, earlyoom/trunk/PKGBUILD)
Deleted:
  earlyoom/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 32 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-14 22:13:42 UTC (rev 614330)
+++ PKGBUILD	2020-04-14 22:13:44 UTC (rev 614331)
@@ -1,30 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=earlyoom
-pkgver=1.5
-pkgrel=2
-pkgdesc="Early OOM Daemon for Linux"
-arch=('x86_64')
-url="https://github.com/rfjakob/earlyoom"
-license=('MIT')
-makedepends=('pandoc')
-backup=("etc/default/earlyoom")
-source=("https://github.com/rfjakob/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('55b71800e878a01325951c904fa45d345b83440123c7dcbce1c47ff49326ea91')
-
-prepare() {
-    cd "$pkgname-$pkgver"
-    sed "/systemctl|chcon/d" -ri Makefile
-    sed '/^DynamicUser=/a SupplementaryGroups=proc' -i earlyoom.service.in
-}
-
-build() {
-    cd "$pkgname-$pkgver"
-    make PREFIX=/usr SYSTEMDUNITDIR=/usr/lib/systemd/system VERSION=$pkgver earlyoom
-}
-
-package() {
-    cd "$pkgname-$pkgver"
-    make install DESTDIR="$pkgdir" PREFIX=/usr SYSTEMDUNITDIR=/usr/lib/systemd/system
-    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: earlyoom/repos/community-x86_64/PKGBUILD (from rev 614329, earlyoom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-14 22:13:44 UTC (rev 614331)
@@ -0,0 +1,32 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=earlyoom
+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=('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() {
+    cd "$pkgname-$pkgver"
+    make PREFIX=/usr SYSTEMDUNITDIR=/usr/lib/systemd/system VERSION=$pkgver earlyoom
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    make install DESTDIR="$pkgdir" PREFIX=/usr SYSTEMDUNITDIR=/usr/lib/systemd/system
+    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list