commit 586e1a9a9dfbd6061a9a722c46f9eb449cc8c56e Author: xhaa123 Date: Thu Oct 17 18:17:27 2024 +0800 xmlto 0.0.28-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..004393d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Future Linux Team + +pkgname=xmlto +pkgver=0.0.28 +pkgrel=1 +pkgdesc="Convert xml to many other formats" +arch=('x86_64') +url="https://pagure.io/xmlto/" +license=('GPL') +depends=('docbook-xml' 'docbook-xsl' 'libxslt') +makedepends=('lynx') +source=(https://releases.pagure.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=(1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276) + +build() { + cd ${pkgname}-${pkgver} + + LINKS="/usr/bin/links" \ + ${CONFIGURE} + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}