aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 1664d383ce90fb1b22890cc21f55b662b5df9a5c (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: Bill Kolokithas <kolokithas.b@gmail.com>

pkgname=j4-dmenu-desktop-git
pkgver=150.0a7f56c
pkgrel=1
pkgdesc="A rewrite of i3-dmenu-desktop, which is much faster"
arch=('i686' 'x86_64')
url="https://github.com/enkore/j4-dmenu-desktop"
license=('GPL3')
depends=('dmenu')
makedepends=('git' 'cmake')
provides=('j4-dmenu-desktop')
conflicts=('j4-dmenu-desktop')
source=("$pkgname::git://github.com/enkore/j4-dmenu-desktop")
md5sums=('SKIP')

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

build() {
	cd $pkgname
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DNO_TESTS=1 .
	make
}

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