pkgname=xmlto pkgver=0.0.29 pkgrel=1 pkgdesc="Convert xml to many other formats" arch=('x86_64') url="https://pagure.io/xmlto/" license=('GPL-2.0-or-later') depends=('libxslt' 'docbook-xsl' 'docbook-xml') source=(https://pagure.io/xmlto/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(40504db68718385a4eaa9154a28f59e51e59d006d1aa14f5bc9d6fded1d6017a) prepare() { cd ${pkgname}-${pkgver} autoreconf -fiv } build() { cd ${pkgname}-${pkgver} export CC=${CHOST}-gcc local configure_args=( ${configure_options} ) LINKS="/usr/bin/links" \ ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }