[crux-commits] ports/contrib (refs/remotes/origin/3.6): pm-utils: adopted port

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:47 UTC 2021


commit d5e4cb0996c2de9d34a3cf49008b39bc155e2b9a
Author: Tim Biermann <tbier at posteo.de>
Date:   Thu Mar 4 09:37:17 2021 +0000

    pm-utils: adopted port

diff --git a/pm-utils/.signature b/pm-utils/.signature
index 463db937c..cd8735dbe 100644
--- a/pm-utils/.signature
+++ b/pm-utils/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF321S0s+t3kW34ibDAjScV6BJEK0/rVQhxD5l2xuVH0qI8GAj55n8Brkn85MB6VF3dbfXYGdEOjoC7RICFGFTvwU=
-SHA256 (Pkgfile) = 49db481fb663c8e89eeb024e5e201a1aeae3010dd251d23b4ff8a6d203e2694d
+RWSagIOpLGJF3w7Jcn8dpwWOt3dkm0F21c+ec+zjOeE+s4WPAZKMNvIDA3G2EYa4j9ve9DX1MW/xHklGm4Q+4/y0bh/gb3FJVQg=
+SHA256 (Pkgfile) = d5d01cad4695da5a05b3151ac735a52b33394680b090860a066ffa4776f68393
 SHA256 (.footprint) = ad9d6a7634c69ca88361daef61c0a688d05230b8251f58c1b45130a9cbee21c0
 SHA256 (pm-utils-1.4.1.tar.gz) = 8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4370c0b
 SHA256 (pm-quirks-20100619.tar.gz) = 14a50518928c27417cdc8bcbabb32b3d986931de105149aa248d8883e56c61ec
diff --git a/pm-utils/Pkgfile b/pm-utils/Pkgfile
index df2fc2943..aa03f518f 100644
--- a/pm-utils/Pkgfile
+++ b/pm-utils/Pkgfile
@@ -1,28 +1,27 @@
 # Description: Power management scripts for suspend and hibernate
-# URL:         https://pm-utils.freedesktop.org/
-# Maintainer:  John Vogel, jvogel4 at stny dot rr dot com
+# URL: https://pm-utils.freedesktop.org/
+# Maintainer: Tim Biermann, tbier at posteo dot de
 
 name=pm-utils
 version=1.4.1
 release=1
 source=(https://pm-utils.freedesktop.org/releases/$name-$version.tar.gz \
-        https://pm-utils.freedesktop.org/releases/pm-quirks-20100619.tar.gz)
+  https://pm-utils.freedesktop.org/releases/pm-quirks-20100619.tar.gz)
 
 build() {
-	cd $name-$version
+  cd $name-$version
 
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc
+  make
+  make DESTDIR=$PKG install
 
-	make
-	make DESTDIR=$PKG install
+  install -m 0644 man/*.1 $PKG/usr/share/man/man1
+  install -m 0644 man/*.8 $PKG/usr/share/man/man8
 
-	install -m 0644 man/*.1 $PKG/usr/share/man/man1
-	install -m 0644 man/*.8 $PKG/usr/share/man/man8
+  # install video quirks
+  mv $SRC/video-quirks $PKG/usr/lib/pm-utils
 
-	# install video quirks
-	mv $SRC/video-quirks $PKG/usr/lib/pm-utils
-
-	rm -rf $PKG/usr/share/doc
+  rm -rf $PKG/usr/share/doc
 }


More information about the crux-commits mailing list