aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-05-02 20:34:09 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-05-02 20:59:20 +0200
commit3f357e86465ac484c51b88799f39f6ca8ee4384a (patch)
tree0e8c776ff4701bfdf3de476f68bc356e7a91ec2e
parentcba505e540efe9e4bd1ab73d0c11d504d10ab44e (diff)
downloadaports-3f357e86465ac484c51b88799f39f6ca8ee4384a.tar.gz
aports-3f357e86465ac484c51b88799f39f6ca8ee4384a.tar.bz2
aports-3f357e86465ac484c51b88799f39f6ca8ee4384a.tar.xz
main/dmenu: upgrade to 4.7, modernize APKBUILD
-rw-r--r--main/dmenu/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/dmenu/APKBUILD b/main/dmenu/APKBUILD
index 3e778fb6b0..959e2adec6 100644
--- a/main/dmenu/APKBUILD
+++ b/main/dmenu/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=dmenu
-pkgver=4.6
-pkgrel=1
+pkgver=4.7
+pkgrel=0
pkgdesc="Dynamic menu for X"
url="http://tools.suckless.org/dmenu/"
arch="all"
@@ -11,22 +11,23 @@ depends=""
depends_dev=""
makedepends="libx11-dev libxinerama-dev libxft-dev"
install=""
+options="!check"
subpackages="$pkgname-doc"
source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz"
-
builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
- default_prepare || return 1
+ default_prepare
sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \
-e '/LDFLAGS/{s/-s//;s/=/+=/}' \
- "$builddir"/config.mk || return 1
+ "$builddir"/config.mk
}
build() {
make X11INC=/usr/include/X11 \
X11LIB=/usr/lib/X11 \
FREETYPEINC=/usr/include/freetype2 \
- -C "$builddir" || return 1
+ -C "$builddir"
}
package() {
@@ -34,6 +35,4 @@ package() {
-C "$builddir" install
}
-md5sums="6fedf081133bc0725cb040b3b8ac3fac dmenu-4.6.tar.gz"
-sha256sums="4a7a24008a621c3cd656155ad91ab8136db8f0d3b9ec56dafeec518cabda96b3 dmenu-4.6.tar.gz"
-sha512sums="e54fd10c0b1274eb90173aea442f0bfc496f4dda861a36d94f939e1fd835594f9aa12f3d0f90043d64e519d919b9a5273ab65012230ac022f727ee6bb64862e3 dmenu-4.6.tar.gz"
+sha512sums="67a184f3ddb018e7b372e049052662955403e3367639b9c2284939d6f105ae74c995fe38f126d8ff75886831c8add8b50e338a1bfb0d8620b7fb1457cf88a00c dmenu-4.7.tar.gz"