From 46e6abe121ba8bc24fe3644276ab76b66c3a169d Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Thu, 17 Oct 2024 18:24:14 +0800 Subject: [PATCH] xmlto 0.0.29-1 --- PKGBUILD | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 004393d..9573fe8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,22 +1,35 @@ -# Maintainer: Future Linux Team +# 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.28 +pkgver=0.0.29 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) +depends=('libxslt') +makedepends=('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} - LINKS="/usr/bin/links" \ - ${CONFIGURE} + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib64 \ + --mandir=/usr/share/man \ + BASH=/bin/bash make }