summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73742e19526da790fac9dd7bda6cc20771583cd7 (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
# Maintainer: Carlos Franke <carlos_franke at lemtank dot de>
_pkgname=abbrase
pkgname=$_pkgname-git
pkgver=r41.3834b28
pkgrel=1
pkgdesc=""
arch=('x86_64')
url="https://github.com/rmmh/abbrase"
license=('custom')
depends=()
makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
source=("$pkgname::git+https://github.com/rmmh/abbrase.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/$pkgname"

# Git, no tags available
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/$pkgname"
	make PREFIX="/usr"
}

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