summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92d0ad8fb0d2717da5b309269391668ca9b106de (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: Max Briggs <max@maxbriggs.org>
pkgname=todo-git
_gitname="${pkgname%-git}"
pkgver=r38.5ee1311
pkgrel=1
pkgdesc='A simple utility for managing a to-do list'
url='https://github.com/maxrbriggs/todo'
license=('GPL3')
arch=('any')
makedepends=('git')
source=('git+https://github.com/maxrbriggs/todo.git')
md5sums=('SKIP')

pkgver() {
	cd "$_gitname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$_gitname"
	make
}

package() {
	cd "$_gitname"
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}