updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / crm114 / PKGBUILD
bloba58a0622ecb44c76edb56b49cdc8e95e5689bd2e
1 # Maintainer: Tino Reichardt <milky-archlinux@mcmilk.de>
2 pkgname=crm114
3 pkgver=20100106
4 pkgrel=1
5 pkgnote="BlameMichelson"
6 pkgdesc="CRM114 - the Controllable Regex Mutilator"
7 license="GPL"
8 depends=()
9 makedepends=('tre')
10 conflicts=()
11 replaces=()
12 backup=()
13 install=
14 url="http://crm114.sourceforge.net/"
15 source=(http://crm114.sourceforge.net/tarballs/$pkgname-$pkgver-$pkgnote.src.tar.gz \
16 http://ftp.de.debian.org/debian/pool/main/c/$pkgname/${pkgname}_20090807-6.debian.tar.gz)
17 arch=('i686' 'x86_64')
19 build() {
20         rm -rf $startdir/pkg
21         cd $startdir/src/$pkgname-$pkgver-$pkgnote.src
22         CFLAGS='-Os -Wall' make prefix=/usr  || return 1
23         mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/share/man/man1
24         make prefix=$startdir/pkg/usr install
25         for i in crm cssdiff cssutil; do
26             cp $srcdir/debian/$i.1 $startdir/pkg/usr/share/man/man1
27         done
29 md5sums=('213c0b24a28a6cc0b59abc37e2b88a4b'
30          'd0d588610aedbba787d9a2bb033890f1')