aboutsummaryrefslogtreecommitdiff
path: root/packaging/pkgbuild/termgl-git/PKGBUILD
blob: 4a3b3534c65122682a724cf8d98fd0fd464a14ff (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
# Maintainer: Joe User <joe.user@example.com>

pkgname=termgl
pkgver=$(date +%y%m%d)
pkgrel=1
pkgdesc="Terminal Graphics Library"
arch=('i686' 'x86_64')
url="https://github.com/kompetenzbolzen/termgl"
license=('MIT')
groups=()
depends=('glibc')
makedepends=('clang' 'doxygen')
optdepends=()
source=("git+https://github.com/kompetenzbolzen/termgl")
md5sums=('SKIP')

build() {
        cd $srcdir/termgl
        make build doc
}

package() {
        cd $srcdir/termgl
        make PREFIX="$pkgdir/" install install-headers install-man
}

post_install() {
	ldconfig -n -v /usr/lib
}