diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 10:10:22 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 10:10:22 +0000 |
commit | 60669ea0bb74adb5892714a8580e984eb446fb53 (patch) | |
tree | 39f180812d70ebb8bdb3b029d1c0e28dd943944b /legacy/dmenu | |
parent | 354983b17ddd6c04a3da19084101f0386df259d1 (diff) | |
download | packages-60669ea0bb74adb5892714a8580e984eb446fb53.tar.gz packages-60669ea0bb74adb5892714a8580e984eb446fb53.tar.bz2 packages-60669ea0bb74adb5892714a8580e984eb446fb53.tar.xz packages-60669ea0bb74adb5892714a8580e984eb446fb53.zip |
user: Move three packages to legacy/
dmenu: Replaced by rofi.
libxfont: No rdeps; no longer used in-tree.
which: Replaced by debianutils-which.
Diffstat (limited to 'legacy/dmenu')
-rw-r--r-- | legacy/dmenu/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/legacy/dmenu/APKBUILD b/legacy/dmenu/APKBUILD new file mode 100644 index 000000000..36c844132 --- /dev/null +++ b/legacy/dmenu/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Eivind Uggedal <eivind@uggedal.com> +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Dan Theisen <djt@hxx.in> +pkgname=dmenu +pkgver=4.9 +pkgrel=0 +pkgdesc="Dynamic menu for X" +url="https://tools.suckless.org/dmenu/" +arch="all" +options="!check" # This package has no testsuite +license="MIT OR X11" +depends="" +makedepends="libx11-dev libxinerama-dev libxft-dev" +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="c2779209fe012de8ca1cdd72923da6d594f4a8368c85c3c0e0afd4ae489a95fe0e6f05a947d115b6b389aa7170ab14c2c645a2031353b0a08f38327ab461fe65 dmenu-4.9.tar.gz" |