blob: 48b6d94564f7b6188a66f06700e1ec4d6cfeeda9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Junxuan Liao <mikeljx at 126 dot com>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: T.J. Townsend <blakkheim@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
pkgname=sxmo-dmenu
pkgver=5.0.14
pkgrel=1
pkgdesc="Dmenu for sxmo - works via using volume/power keys for seletion along with some other patches"
arch=('x86_64')
provides=('dmenu')
conflicts=('dmenu')
url="https://git.sr.ht/~mil/sxmo-dmenu"
license=('MIT')
source=("${pkgname}-${pkgver}::$url/archive/$pkgver.tar.gz")
sha256sums=('bbd6877b73db93b95f8bf15c33d5137a9a675ea335bf916d9318b84686284cea')
depends=(
'glibc'
'libfontconfig.so'
'libxft'
'bash'
'libxinerama'
'libx11'
)
prepare() {
cd "${pkgname}-${pkgver}"
echo "CPPFLAGS+=${CPPFLAGS}" >> config.mk
echo "CFLAGS+=${CFLAGS}" >> config.mk
echo "LDFLAGS+=${LDFLAGS}" >> config.mk
}
build() {
cd "${pkgname}-${pkgver}"
make \
X11INC=/usr/include/X11 \
X11LIB=/usr/lib/X11 \
FREETYPEINC=/usr/include/freetype2
}
package() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
cd ${pkgdir}/usr/bin
}
|