diff options
author | William Di Luigi | 2015-09-22 00:05:27 +0200 |
---|---|---|
committer | William Di Luigi | 2015-09-22 00:05:27 +0200 |
commit | 548549e36b234f7047f3ed465da9674104f9804c (patch) | |
tree | 01ed9f257367bdd337f9950ab09a1eb6c274d5d1 | |
download | aur-548549e36b234f7047f3ed465da9674104f9804c.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6f2cfefd98d4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by makepkg 4.2.1 +# Mon Sep 21 22:05:09 UTC 2015 +pkgbase = libt3highlight + pkgdesc = A syntax highlighting library. + pkgver = 0.3.5 + pkgrel = 1 + url = http://os.ghalkes.nl/t3/libt3highlight.html + arch = x86_64 + arch = i686 + license = GPL3 + depends = libt3config>=0.2.5 + options = !libtool + source = http://os.ghalkes.nl/dist/libt3highlight-0.3.5.tar.bz2 + md5sums = f94e06aeae9f66807a7d7aeccd593610 + +pkgname = libt3highlight + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..93e41cb03e83 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Gertjan Halkes <arch at ghalkes dot nl> +pkgname=libt3highlight +pkgver=0.3.5 +pkgrel=1 +pkgdesc="A syntax highlighting library." +arch=('x86_64' 'i686') +url="http://os.ghalkes.nl/t3/$pkgname.html" +license=('GPL3') +groups=() +depends=('libt3config>=0.2.5') +makedepends=() +optdepends=() +conflicts=() +replaces=() +backup=() +options=('!libtool') +install='' +changelog= +source=("http://os.ghalkes.nl/dist/$pkgname-$pkgver.tar.bz2") +noextract=() +md5sums=('f94e06aeae9f66807a7d7aeccd593610') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr CFLAGS="-O2 -D_POSIX_C_SOURCE=200809L" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}/usr/share/doc/$pkgname/API" +} |