From 812e6339c36cf0d5c04e01c01d7f978a26edbf81 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Fri, 5 Oct 2018 02:04:23 -0700 Subject: user/dmenu: new package --- user/dmenu/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/dmenu/APKBUILD (limited to 'user') diff --git a/user/dmenu/APKBUILD b/user/dmenu/APKBUILD new file mode 100644 index 000000000..39a27bc5a --- /dev/null +++ b/user/dmenu/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Eivind Uggedal +# Contributor: Sören Tempel +# Maintainer: Dan Theisen +pkgname=dmenu +pkgver=4.8 +pkgrel=0 +pkgdesc="Dynamic menu for X" +url="https://tools.suckless.org/dmenu/" +arch="all" +license="MIT OR X11" +depends="" +makedepends="libx11-dev libxinerama-dev libxft-dev" +options="!check" # This package has no testsuite +subpackages="$pkgname-doc" +source="https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz" + +prepare() { + default_prepare + sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \ + -e '/LDFLAGS/{s/-s//;s/=/+=/}' \ + "$builddir"/config.mk +} + +build() { + make X11INC=/usr/include/X11 \ + X11LIB=/usr/lib/X11 \ + FREETYPEINC=/usr/include/freetype2 \ + -C "$builddir" +} + +package() { + make DESTDIR=$pkgdir PREFIX=/usr \ + -C "$builddir" install +} + +sha512sums="fa2700018cfb912a21f867ef3ca771a58a25c2cb8e1fb37acef046bb15d8d8b92dcc5bfce486befae0f143495d0283910988e181a9eb143be3bb1b5be9738d77 dmenu-4.8.tar.gz" -- cgit v1.2.3-70-g09d2