# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=xmltoman
pkgver=0.4
pkgrel=2
pkgdesc='Convert xml to man pages in groff format or html'
url='http://xmltoman.sourceforge.net/'
license=('GPL')
arch=('any')
depends=('perl-xml-parser')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}.tar.gz/${pkgname}-${pkgver}.tar.gz")
sha1sums=('151f75d78d1fa53bca25b94dc00e46a27fabfee8')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make PREFIX=/usr
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make install PREFIX=/usr DESTDIR="${pkgdir}"
}