summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd4a34b9f68b5c7aa02ea7454d70308ddf5c54ca (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
# Maintainer: pryme-svg <edoc.www@gmail.com>

pkgname=dmenu-pryme-svg
pkgver=r3.426b5b3
pkgrel=1
pkgdesc="pryme-svgs customized fork of dmenu"
arch=(any)
url="https://gitlab.com/pryme-svg/dmenu"
license=('MIT')
depends=()
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
source=(git+$url)
noextract=()
md5sums=('SKIP')

pkgver() {
  cd $srcdir/dmenu
  printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd dmenu
  make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}

package() {
  cd dmenu
  make PREFIX=/usr DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}