updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / dparser / PKGBUILD
blobd7744a79f2e191437369bd5798a9d1c8bde89679
1 # Contributor: Friedrich Weber <fred@reichbier.de> 
2 pkgname=dparser
3 pkgver=1.19
4 pkgrel=1
5 pkgdesc="A simple but powerful tool for parsing."
6 arch=("i686")
7 url="http://dparser.sourceforge.net"
8 license=('BSD')
9 install=
10 source=(http://downloads.sourceforge.net/dparser/d-$pkgver-src.tar.gz
11         http://aur.archlinux.org/packages/dparser/dparser/Makefile.patch 
12         )
13 md5sums=('2d897700b9deabd0de4e25e122ed727c'
14          '987bfd2f99c65484abfebefdceada3d8')
16 build() {
17   cd "$srcdir/d"
19   patch -ui ../../Makefile.patch || return 1
20   make PREFIX="$pkgdir/usr" || return 1
21   make PREFIX="$pkgdir/usr" install || return 1
22   # copy license
24   echo "Copying COPYRIGHT ..."
25   mkdir -p $pkgdir/usr/share/licenses/dparser || return 1
26   cp COPYRIGHT $pkgdir/usr/share/licenses/dparser || return 1
29 # vim:set ts=2 sw=2 et: