From 7d6788be1fdd083b303a383d3bfdbc21155ebe5c Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 4 Sep 2019 12:00:39 +0200 Subject: PKGBUILD --- misc/PKGBUILD | 29 ----------------------------- misc/termgl-git/PKGBUILD | 29 +++++++++++++++++++++++++++++ misc/termgl/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 29 deletions(-) delete mode 100644 misc/PKGBUILD create mode 100644 misc/termgl-git/PKGBUILD create mode 100644 misc/termgl/PKGBUILD (limited to 'misc') diff --git a/misc/PKGBUILD b/misc/PKGBUILD deleted file mode 100644 index b8bb86d..0000000 --- a/misc/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# 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 -} diff --git a/misc/termgl-git/PKGBUILD b/misc/termgl-git/PKGBUILD new file mode 100644 index 0000000..6d5da6e --- /dev/null +++ b/misc/termgl-git/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Joe User + +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=("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 +} 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 + +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 +} -- cgit v1.2.3