summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-04 21:21:49 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-04 21:21:49 (GMT)
commit15d55555dfe97b8a9d4316072206c35b265d688f (patch)
treee1d8018ae1d6fc907cc2714fd4b9af8b0a592d61
parent3080fa3d82b743b7dacb87ccd18664747d755de4 (diff)
downloadlinhes_pkgbuild-15d55555dfe97b8a9d4316072206c35b265d688f.zip
linhes_pkgbuild-15d55555dfe97b8a9d4316072206c35b265d688f.tar.gz
linhes_pkgbuild-15d55555dfe97b8a9d4316072206c35b265d688f.tar.bz2
tre:bumped to latest
-rw-r--r--abs/extra/community/tre/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/abs/extra/community/tre/PKGBUILD b/abs/extra/community/tre/PKGBUILD
index b7d82eb..52fb147 100644
--- a/abs/extra/community/tre/PKGBUILD
+++ b/abs/extra/community/tre/PKGBUILD
@@ -1,19 +1,28 @@
# Contributor: Igor Galic<i.galic@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de
pkgname=tre
-pkgver=0.7.5
-pkgrel=4
+pkgver=0.8.0
+pkgrel=1
arch=('i686' 'x86_64')
-pkgdesc="POSIX compliant regexp matching library. It includes agrep for aproximate (fuzzy) grepping."
+pkgdesc="POSIX compliant regexp matching library. Includes agrep for aproximate grepping."
url="http://laurikari.net/tre/index.html"
-license=('GPL')
+depends=('glibc')
+license=('custom:BSD')
source=(http://laurikari.net/tre/$pkgname-$pkgver.tar.bz2)
-md5sums=('e72e5c94008865cf720992a0b25d6e89')
+md5sums=('b4d3232593dadf6746f4727bdda20b41')
+options=('!libtool')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --enable-static || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
+ install -Dm644 ${srcdir}/$pkgname-$pkgver/LICENSE \
+ ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ 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 || return 1
}
-