summaryrefslogtreecommitdiffstats
path: root/abs/extra/opensp
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 20:37:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 20:37:59 (GMT)
commit569f3761d5a881fd14ead568226a3c0e1ad5ec08 (patch)
treeda29f9155b70b5e0f139a22b5a75f0493e8e5eb1 /abs/extra/opensp
parente436e3a6e58c38e5dbe5c4a09680a33a39c64dee (diff)
downloadlinhes_pkgbuild-569f3761d5a881fd14ead568226a3c0e1ad5ec08.zip
linhes_pkgbuild-569f3761d5a881fd14ead568226a3c0e1ad5ec08.tar.gz
linhes_pkgbuild-569f3761d5a881fd14ead568226a3c0e1ad5ec08.tar.bz2
opensp 1.5.2
Diffstat (limited to 'abs/extra/opensp')
-rw-r--r--abs/extra/opensp/PKGBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/abs/extra/opensp/PKGBUILD b/abs/extra/opensp/PKGBUILD
index 1f79263..ff23a6d 100644
--- a/abs/extra/opensp/PKGBUILD
+++ b/abs/extra/opensp/PKGBUILD
@@ -1,29 +1,35 @@
-# $Id: PKGBUILD 27689 2009-02-24 21:08:28Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 150566 2012-02-18 14:51:32Z pierre $
+# Maintainer:
+# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=opensp
pkgver=1.5.2
-pkgrel=1
-pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents."
+pkgrel=3
+pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents"
arch=('i686' 'x86_64')
url="http://openjade.sourceforge.net/"
license=('BSD')
depends=('gcc-libs')
makedepends=('xmlto' 'docbook-xsl')
options=('!libtool')
-source=(http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz)
+source=("http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz")
md5sums=('670b223c5d12cee40c9137be86b6c39b')
build() {
- cd $srcdir/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 || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+ cd "${srcdir}"/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 "${srcdir}"/OpenSP-$pkgver
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}