summaryrefslogtreecommitdiffstats
path: root/abs/extra/xmlto
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/xmlto')
-rw-r--r--abs/extra/xmlto/PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/abs/extra/xmlto/PKGBUILD b/abs/extra/xmlto/PKGBUILD
index f9fc36e..e6ed12d 100644
--- a/abs/extra/xmlto/PKGBUILD
+++ b/abs/extra/xmlto/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: $
+# $Id$
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
@@ -11,14 +11,20 @@ pkgdesc="Convert xml to many other formats"
arch=('i686' 'x86_64')
url="http://cyberelk.net/tim/software/xmlto/"
license=('GPL')
-depends=('libxslt>=1.1.24')
+depends=('libxslt>=1.1.24' 'perl-yaml-syck' 'perl-test-pod')
makedepends=('docbook-xsl')
-source=(https://fedorahosted.org/releases/x/m/xmlto/${pkgname}-${pkgver}.tar.bz2)
+source=(https://fedorahosted.org/releases/x/m/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('3001d6bb2bbc2c8f6c2301f05120f074')
build() {
- cd $srcdir/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man || return 1
make || return 1
- make DESTDIR=$pkgdir install || return 1
}
-md5sums=('3001d6bb2bbc2c8f6c2301f05120f074')
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+}