summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 287a20c81aa1d857a94a31f3267079a32c82876d (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
# Maintainer: jcomcl rapcyss@gmail.com

pkgname=umenu
pkgver=1.1.2.g1d7c154
pkgrel=1
pkgdesc="command-line menu (a la dmenu, slmenu) with single-keypress interaction"
arch=('x86_64')
url="https://github.com/JCoMcL/umenu.git"
license=('Unlicense')
depends=('sh')
makedepends=('git')
source=("git+https://github.com/JCoMcL/umenu")
md5sums=('SKIP')

pkgver() {
	cd "$pkgname"
	git describe --tags --long | sed 's/^v//;s/-/./g;q'
}

build() {
	cd "$pkgname"
	make
}

package() {
	cd "$pkgname"
	make DESTDIR="$pkgdir" install
}