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

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


commit d1913e71b051e8ad482d4a07eae46564634418a5
Author: Juergen Daubert <jue at jue.li>
Date:   Tue Mar 9 13:37:05 2021 +0100

    dmenu: port adopted

diff --git a/dmenu/.signature b/dmenu/.signature
index b856a7160..cd8125ce6 100644
--- a/dmenu/.signature
+++ b/dmenu/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF33I+uqKtCgmteCGuV9Ybg2y1Vs7K5q+VKTJQSgY0XjHXa/NmrB59eJzgRvzGIc4Uwz/ecBtWLkpBRsTZJmhT4Ao=
-SHA256 (Pkgfile) = e961f374b3ff9a47fa1b5da8359228945ada80455d75e280a9c3888dc4b65a25
+RWSagIOpLGJF37Z1Q8+lvK8ziBUTB8mdkXYJkC0Te8EVxC1fMqAl+vkhH1K4xyOrkSknj1E183braEHhFLuqLcDXPQsZpO/vkgM=
+SHA256 (Pkgfile) = 5ba365375c9bdea95b1396527df03d5745b1b89534124f8ceba967cd9b8fac6b
 SHA256 (.footprint) = 3bdd45e059e6c106af608917f9e0d3f153b22d74e0ed3aea4c7661e914200e77
 SHA256 (dmenu-5.0.tar.gz) = fe18e142c4dbcf71ba5757dbbdea93b1c67d58fc206fc116664f4336deef6ed3
diff --git a/dmenu/Pkgfile b/dmenu/Pkgfile
index 7965b88af..b610e5ec6 100644
--- a/dmenu/Pkgfile
+++ b/dmenu/Pkgfile
@@ -1,7 +1,7 @@
 # Description: dynamic menu, originally designed for dwm (with xft support)
-# URL:         http://tools.suckless.org/dmenu/
-# Maintainer:  Fredrik Rinnestam, fredrik at crux dot nu
-# Depends on:  xorg-libxinerama xorg-libxft
+# URL: http://tools.suckless.org/dmenu/
+# Maintainer: Juergen Daubert, jue at crux dot nu
+# Depends on: xorg-libxinerama xorg-libxft
 
 name=dmenu
 version=5.0
@@ -9,10 +9,7 @@ release=1
 source=(http://dl.suckless.org/tools/$name-$version.tar.gz)
 
 build () {
-	cd "$name-$version"
-	sed -i '19d' config.mk
-	make DESTDIR=$PKG \
-	PREFIX=/usr \
-	MANPREFIX=/usr/share/man \
-	install
+	cd $name-$version
+	sed "/^CFLAGS/s/-Os/$CFLAGS/" -i config.mk
+	make DESTDIR=$PKG PREFIX=/usr install
 }


More information about the crux-commits mailing list