From f2a0b74624ac69246034c3fdbab1ce26f8cb543e Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 10 Feb 2020 16:04:53 +0100 Subject: renamed "misc" to "packaging" --- packaging/pkgbuild/termgl-git/PKGBUILD | 29 +++++++++++++++++++++++++++++ packaging/pkgbuild/termgl/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 packaging/pkgbuild/termgl-git/PKGBUILD create mode 100644 packaging/pkgbuild/termgl/PKGBUILD (limited to 'packaging') 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 + +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 + +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 +} -- cgit v1.2.3