diff options
author | William Di Luigi | 2015-09-21 23:16:16 +0200 |
---|---|---|
committer | William Di Luigi | 2015-09-21 23:16:16 +0200 |
commit | e38bdcf55d3ffbe1168f15d3a6ca8a021188cbfc (patch) | |
tree | 4fd333ea82f3b16ec86f4b3a2064bfc615dd6dd8 /PKGBUILD | |
download | aur-e38bdcf55d3ffbe1168f15d3a6ca8a021188cbfc.tar.gz |
First commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..984541f8f887 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Gertjan Halkes <arch at ghalkes dot nl> +pkgname=libt3key +pkgver=0.2.6 +pkgrel=1 +pkgdesc="Terminal key sequence database library." +arch=('x86_64' 'i686') +url="http://os.ghalkes.nl/t3/$pkgname.html" +license=('GPL3') +groups=() +depends=('libt3config>=0.2.5' 'libxcb') +makedepends=() +optdepends=() +conflicts=() +replaces=() +backup=() +options=('!libtool') +install='' +changelog= +source=("http://os.ghalkes.nl/dist/$pkgname-$pkgver.tar.bz2") +noextract=() +md5sums=('6701cfe84a05f823f9760c17e433f9ae') + +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" +} |