diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-09-04 12:00:39 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-09-04 12:00:39 +0200 |
commit | 7d6788be1fdd083b303a383d3bfdbc21155ebe5c (patch) | |
tree | 68eece4c489541791b36c25746256cdc155ce211 /misc | |
parent | 2d7b692052a99674654b39c061ee7cd79db77a1a (diff) | |
download | termgl-7d6788be1fdd083b303a383d3bfdbc21155ebe5c.tar.gz |
PKGBUILD
Diffstat (limited to 'misc')
-rw-r--r-- | misc/termgl-git/PKGBUILD (renamed from misc/PKGBUILD) | 6 | ||||
-rw-r--r-- | misc/termgl/PKGBUILD | 30 |
2 files changed, 33 insertions, 3 deletions
diff --git a/misc/PKGBUILD b/misc/termgl-git/PKGBUILD index b8bb86d..6d5da6e 100644 --- a/misc/PKGBUILD +++ b/misc/termgl-git/PKGBUILD @@ -1,15 +1,15 @@ # Maintainer: Joe User <joe.user@example.com> -pkgname=libtermgl +pkgname=termgl pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Terminal Graphics Library" arch=('i686' 'x86_64') url="https://github.com/kompetenzbolzen/termgl" license=('MIT') groups=() depends=('glibc') -makedepends=() +makedepends=('clang') optdepends=() source=("git+https://github.com/kompetenzbolzen/termgl") md5sums=('SKIP') diff --git a/misc/termgl/PKGBUILD b/misc/termgl/PKGBUILD new file mode 100644 index 0000000..00886ec --- /dev/null +++ b/misc/termgl/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Joe User <joe.user@example.com> + +pkgname=termgl +pkgver=1.0 +pkgrel=2 +pkgdesc="Terminal Graphics Library" +arch=('i686' 'x86_64') +url="https://github.com/kompetenzbolzen/termgl" +license=('MIT') +groups=() +depends=('glibc') +makedepends=('clang') +optdepends=() +source=("https://github.com/kompetenzbolzen/TermGL/archive/v$pkgver.tar.gz") +md5sums=('dfb2c3183cdca3c08e561cf53f462c90') + +build() { + tar -xf $srcdir/v$pkgver.tar.gz + cd $srcdir/TermGL-$pkgver + make +} + +package() { + cd $srcdir/TermGL-$pkgver + make PREFIX="$pkgdir/" install +} + +post_install() { + ldconfig -n -v /usr/lib +} |