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

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Apr 6 10:42:05 UTC 2020


    Date: Monday, April 6, 2020 @ 10:42:05
  Author: mtorromeo
Revision: 612049

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   59 ++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 30 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 10:41:43 UTC (rev 612048)
+++ PKGBUILD	2020-04-06 10:42:05 UTC (rev 612049)
@@ -1,29 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=earlyoom
-pkgver=1.5
-pkgrel=1
-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
-}
-
-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 612048, earlyoom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-06 10:42:05 UTC (rev 612049)
@@ -0,0 +1,30 @@
+# 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"
+}



More information about the arch-commits mailing list