diff options
-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 +} |