diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-02-10 16:04:53 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-02-10 16:04:53 +0100 |
commit | f2a0b74624ac69246034c3fdbab1ce26f8cb543e (patch) | |
tree | 2aac77489e6ca89c0b7eea736c09ea00f3228a8b /packaging/pkgbuild | |
parent | 9787b39008708e3f28cf300b15c51834e1b9bb60 (diff) | |
download | termgl-f2a0b74624ac69246034c3fdbab1ce26f8cb543e.tar.gz |
renamed "misc" to "packaging"
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 +} |