34 lines
958 B
Text
34 lines
958 B
Text
# Maintainer: Miles Alan <m@milesalan.com>
|
|
pkgname=sxmo-dmenu
|
|
pkgver=4.9.7
|
|
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="c14e45dbf2f73cf5dfd96d16ceb3ede121f44c78c44bc7b441d76387c53838f75b92e57364da57a86c373270acbe371a70311128c2a1a72cd15c61ff36cb4f42 sxmo-dmenu-4.9.7.tar.gz"
|