updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / libsgml / PKGBUILD
blobd51c2999f77989e1601d5511893eca30d139f422
1 # Contributor: Friedrich Weber <fred@reichbier.de>
2 pkgname=libsgml
3 pkgver=1.1.4
4 pkgrel=1
5 pkgdesc="SGML parsing library."
6 arch=("i686")
7 url="http://www.hick.org/code.html"
8 license=('custom')
9 depends=('gcc-libs')
10 md5sums=('a3ba2f8c19faf1a53182d9c6fab22e58'
11          '464719721ed7c6ee0d3703046212fd47')
12 install=
13 source=(http://www.hick.org/code/skape/libsgml/$pkgname-$pkgver.tar.gz
14         Makefile.in.patch)
15          
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   msg "Patching Makefile.in ..."
20   patch -p1 -i ../Makefile.in.patch || return 1
22   ./configure --prefix=/usr
24   make || return 1
26   mkdir -p $pkgdir/usr/include/sgml \
27            $pkgdir/usr/lib
29   make DESTDIR="$pkgdir" install || return 1 
30   install -Dm 644 License $pkgdir/usr/share/licenses/${pkgname}/license.txt || return 1
33 # vim:set ts=2 sw=2 et: