summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11ac39bfffa506e44c7e8ccb29b6ab2f2509f8f2 (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: Finn Arendt <finn-arendt-aur at ubermail dot me>
pkgname=witfocus
pkgver=0.9.8
pkgrel=1
pkgdesc="CLI tool for simple task management"
arch=(any)
url="https://github.com/arendtio/witfocus"
license=('MIT')
# unneeded depends=('coreutils' 'gawk' 'vim')
depends=('bash')
makedepends=('autoconf' 'automake')
source=("git+https://github.com/arendtio/witfocus.git#tag=$pkgver")
sha512sums=(SKIP)
backup=("etc/$pkgname.conf")

build() {
	cd "$pkgname"
	autoreconf --install
	./configure --prefix=/usr --sysconfdir=/etc
	make
}

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