summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a363bcec86253dc434c1405c3a8d768933f64447 (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
35
36
37
38
39
40
41
42
# Maintainer: Jason Waataja <jasonswaataja@gmail.com>
pkgname=jws-config-git
pkgver=1.2.0.r0.0d746e5
pkgrel=1
pkgdesc="A graphical configuration tool for JWS"
arch=(x86_64)
url="https://github.com/JasonWaataja/JWS-Config"
license=('GPL')
groups=()
depends=('gtk3' 'feh')
makedepends=('git')
provides=('jws-config-git')
conflicts=('jws-config-git')
replaces=()
backup=()
options=()
install=
source=('jws-config-git::git+https://github.com/JasonWaataja/JWS-Config.git')
noextract=()
md5sums=('SKIP')

pkgver() {
   cd "${srcdir}/jws-config-git"
   printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "$srcdir/jws-config-git"
	./autogen.sh
	./configure --prefix=/usr
	make
}

check() {
	cd "$srcdir/jws-config-git"
	make -k check
}

package() {
	cd "$srcdir/jws-config-git"
	make DESTDIR="$pkgdir/" install
}