summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a807ebd935581082af0746ce06093bf107b2c123 (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
# Maintainer: Frantisek Fladung

_pkgname=dmenu
pkgname=$_pkgname-ametisf-git
pkgver=7.fd26ff8
pkgrel=1
pkgdesc="generic menu for swc-based compositors - ametisf fork"
url="https://github.com/ametisf/dmenu"
arch=('i686' 'x86_64')
license=('MIT')
depends=('sh' 'wld' 'stest-git')
makedepends=('git' 'libx11' 'swc' 'tup')
provides=($_pkgname)
conflicts=($_pkgname)
source=(git+https://github.com/ametisf/$_pkgname.git)
sha256sums=('SKIP')

pkgver() {
	cd $_pkgname
	echo $(git rev-list --count master).$(git rev-parse --short master)
}

build(){
	cd $_pkgname
	tup init
	tup upd
}

package() {
	cd $_pkgname
	mkdir -p $pkgdir/usr/bin
	install -m 755 dmenu dmenu_path dmenu_run $pkgdir/usr/bin
}