diff options
Diffstat (limited to 'packaging/pkgbuild')
-rw-r--r-- | packaging/pkgbuild/termgl-git/PKGBUILD | 29 | ||||
-rw-r--r-- | packaging/pkgbuild/termgl/PKGBUILD | 30 |
2 files changed, 59 insertions, 0 deletions
diff --git a/packaging/pkgbuild/termgl-git/PKGBUILD b/packaging/pkgbuild/termgl-git/PKGBUILD new file mode 100644 index 0000000..4b96e43 --- /dev/null +++ b/packaging/pkgbuild/termgl-git/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Joe User <joe.user@example.com> + +pkgname=termgl +pkgver=1.1 +pkgrel=1 +pkgdesc="Terminal Graphics Library" +arch=('i686' 'x86_64') +url="https://github.com/kompetenzbolzen/termgl" +license=('MIT') +groups=() +depends=('glibc') +makedepends=('clang') +optdepends=() +source=("git+https://github.com/kompetenzbolzen/termgl") +md5sums=('SKIP') + +build() { + cd $srcdir/termgl + make +} + +package() { + cd $srcdir/termgl + make PREFIX="$pkgdir/" install install-headers +} + +post_install() { + ldconfig -n -v /usr/lib +} diff --git a/packaging/pkgbuild/termgl/PKGBUILD b/packaging/pkgbuild/termgl/PKGBUILD new file mode 100644 index 0000000..efe68b6 --- /dev/null +++ b/packaging/pkgbuild/termgl/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Joe User <joe.user@example.com> + +pkgname=termgl +pkgver=1.1 +pkgrel=1 +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=('SKIP') + +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 +} |