pkgname=xmltoman pkgver=0.6 pkgrel=1 pkgdesc="Convert xml to man pages in groff format or html" arch=('x86_64') url="http://xmltoman.sourceforge.net" license=('GPL-2.0-or-later') depends=('perl-xml-parser') source=(https://github.com/atsb/xmltoman/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(cdd5063ca8beb6fe51ec6ab85f70d31fc8ed034e85e32dd9b7c0b7142bb72fb6) build() { cd ${pkgname}-${pkgver} make CC=${CHOST}-gcc prefix=/usr libdir=/usr/lib64 } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} prefix=/usr libdir=/usr/lib64 install }