summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ccec43f42bcf1569ea5d2df2da6ba98b5c43c98 (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: Tim Teichmann <teichmanntim@outlook.de>
pkgname=stater-git
_pkgname=stater
pkgver=r45.3111c89
pkgrel=1
pkgdesc="Stater is a raylib based gui-app that can visualize pieces of data."
arch=('x86_64')
url="https://github.com/tim-tm/stater"
license=('MIT')
depends=('glibc' 'raylib')
makedepends=('git' 'make' 'gcc' 'autoconf')
source=("$_pkgname::git+https://github.com/tim-tm/$_pkgname.git")
md5sums=('SKIP')

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

build() {
	cd "$_pkgname"
    autoreconf -vi
    ./configure
    make
}

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