# $Id: PKGBUILD 197585 2013-10-27 03:05:15Z eric $ # Maintainer: # Contributor: dorphell # Contributor: Tom Newsom pkgname=opensp pkgver=1.5.2 pkgrel=4 pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents" arch=('i686' 'x86_64' 'mips64el') url="http://openjade.sourceforge.net/" license=('BSD') depends=('gcc-libs') makedepends=('xmlto' 'docbook-xsl') source=("http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz") md5sums=('670b223c5d12cee40c9137be86b6c39b') build() { cd OpenSP-$pkgver ./configure --prefix=/usr \ --mandir=/usr/share/man \ --disable-nls \ --enable-http \ --enable-default-catalog=/etc/sgml/catalog:/etc/xml/catalog \ --enable-default-search-path=/usr/share/sgml:/usr/share/xml \ --enable-xml-messages make } package() { cd OpenSP-$pkgver make DESTDIR="${pkgdir}" install install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE }