From 752df4e54d9ee86efefe4a08ae6ef77a03bf046f Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 12 Jun 2019 01:12:03 +0200 Subject: Added PKGBUILD for easy installation --- misc/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 misc/PKGBUILD (limited to 'misc') diff --git a/misc/PKGBUILD b/misc/PKGBUILD new file mode 100644 index 0000000..b8bb86d --- /dev/null +++ b/misc/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Joe User + +pkgname=libtermgl +pkgver=1.0 +pkgrel=1 +pkgdesc="Terminal Graphics Library" +arch=('i686' 'x86_64') +url="https://github.com/kompetenzbolzen/termgl" +license=('MIT') +groups=() +depends=('glibc') +makedepends=() +optdepends=() +source=("git+https://github.com/kompetenzbolzen/termgl") +md5sums=('SKIP') + +build() { + cd $srcdir/termgl + make +} + +package() { + cd $srcdir/termgl + make PREFIX="$pkgdir/" install +} + +post_install() { + ldconfig -n -v /usr/lib +} -- cgit v1.2.3