blob: c8f669b9d369d8132ff98e2988732a195e4b63ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 100003 2013-10-31 02:56:45Z allan $
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de
# Contributor: Igor Galic<i.galic@gmail.com>
pkgname=tre
pkgver=0.8.0
pkgrel=2.1
arch=('i686' 'x86_64' 'mips64el')
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')
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
}
|