aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sxmo-dmenu/APKBUILD
diff options
context:
space:
mode:
authorAnjandev Momi <anjan@momi.ca>2021-04-27 17:32:28 -0400
committerBart Ribbers <bribbers@disroot.org>2021-05-30 11:17:11 +0000
commit7af7dc4242391fc2b1c94de112f0f48e29eee519 (patch)
treee7a6334843d6d24ac8b2c7d7603182ffa49ec422 /testing/sxmo-dmenu/APKBUILD
parent8588b06fa8f8394998e0e209a83b4bcca96a1de6 (diff)
downloadaports-7af7dc4242391fc2b1c94de112f0f48e29eee519.tar.gz
aports-7af7dc4242391fc2b1c94de112f0f48e29eee519.tar.bz2
aports-7af7dc4242391fc2b1c94de112f0f48e29eee519.tar.xz
testing/sxmo-dmenu: new aport
https://git.sr.ht/~mil/sxmo-dmenu Dmenu fork for Sxmo UI; supports highlight, centering, volume-key navigation and more
Diffstat (limited to 'testing/sxmo-dmenu/APKBUILD')
-rw-r--r--testing/sxmo-dmenu/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/sxmo-dmenu/APKBUILD b/testing/sxmo-dmenu/APKBUILD
new file mode 100644
index 0000000000..472eeaace8
--- /dev/null
+++ b/testing/sxmo-dmenu/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Anjandev Momi <anjan@momi.ca>
+pkgname=sxmo-dmenu
+pkgver=5.0.9
+pkgrel=0
+pkgdesc="Dmenu fork for Sxmo UI; supports highlight, centering, volume-key navigation and more"
+url="https://git.sr.ht/~mil/sxmo-dmenu"
+arch="all"
+license="MIT"
+makedepends="libx11-dev libxinerama-dev libxft-dev"
+options="!check" # has no tests
+subpackages="$pkgname-doc"
+provides="dmenu"
+source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/sxmo-dmenu/archive/$pkgver.tar.gz"
+
+prepare() {
+ default_prepare
+ sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \
+ -e '/LDFLAGS/{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="f49823ddf906c5096d8c932a2a529c3128df5d475575796778bf6cd43de4b8566b2c3cb0cfb8c4584cd9b575454f5d8adf8671bda1c73d912bacf51a57cb7814 sxmo-dmenu-5.0.9.tar.gz"