blob: 869cb48b87cc1fbc46cacfa293abcbd3186f8e2e (
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
|
# Maintainer: Kian Kasad <kdkasad@gmail.com>
pkgname=dmenu-kian-git
pkgver=v4.9.r6.d668f55
pkgrel=1
pkgdesc="A customized build of dmenu by Kian Kasad"
arch=('any')
url="https://gitlab.com/kdkasad/dmenu.git"
license=('MIT')
depends=()
makedepends=('git')
optdepends=('libxft-bgra: for BGRA graphics (emojis)')
provides=('dmenu')
conflicts=('dmenu')
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-kian-git}"
printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
cd "${srcdir}/${pkgname%-kian-git}"
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}
package() {
cd "${srcdir}/${pkgname%-kian-git}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
install -Dm 644 LICENSE "${pkgdir}/usr/share/${pkgname%-git}/LICENSE"
}
|