# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Future Linux Team pkgname=xmlto pkgver=0.0.29 pkgrel=2 pkgdesc="Convert xml to many other formats" arch=('x86_64') url="https://pagure.io/xmlto/" license=('GPL') depends=('libxslt' 'docbook-xml' 'docbook-xsl') source=(https://pagure.io/xmlto/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(40504db68718385a4eaa9154a28f59e51e59d006d1aa14f5bc9d6fded1d6017a) prepare() { cd ${pkgname}-${pkgver} autoreconf -fiv } build() { cd ${pkgname}-${pkgver} ./configure \ --prefix=/usr \ --libdir=/usr/lib64 \ --mandir=/usr/share/man \ BASH=/bin/bash make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }