From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/tre/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/tre/PKGBUILD (limited to 'community/tre/PKGBUILD') diff --git a/community/tre/PKGBUILD b/community/tre/PKGBUILD new file mode 100644 index 000000000..b54263570 --- /dev/null +++ b/community/tre/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 56023 2011-09-29 06:45:36Z andrea $ +# Maintainer: Stefan Husmann + +pkgname=tre +pkgver=0.8.0 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc="POSIX compliant regexp matching library. Includes agrep for aproximate grepping." +url="http://laurikari.net/tre" +depends=('glibc') +license=('custom:BSD') +source=("http://laurikari.net/tre/$pkgname-$pkgver.tar.bz2") +md5sums=('b4d3232593dadf6746f4727bdda20b41') +options=('!libtool') + +build() { + cd ${srcdir}/$pkgname-$pkgver + ./configure --prefix=/usr --enable-static + make +} + +package(){ + cd ${srcdir}/$pkgname-$pkgver + make DESTDIR=$pkgdir install + install -Dm644 ${srcdir}/$pkgname-$pkgver/LICENSE \ + ${pkgdir}/usr/share/licenses/$pkgname/LICENSE + install -d ${pkgdir}/usr/share/doc/$pkgname + cd doc + for _i in default.css tre-api.html tre-syntax.html; do + install -Dm644 ${_i} ${pkgdir}/usr/share/doc/$pkgname/${_i} + done +} -- cgit v1.2.3-54-g00ecf