2024-10-17 18:24:14 +08:00
|
|
|
# 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'.
|
2024-10-17 18:17:27 +08:00
|
|
|
|
2024-10-17 18:24:14 +08:00
|
|
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
2024-10-17 18:17:27 +08:00
|
|
|
pkgname=xmlto
|
2024-10-17 18:24:14 +08:00
|
|
|
pkgver=0.0.29
|
2024-11-01 23:46:17 +08:00
|
|
|
pkgrel=2
|
2024-10-17 18:17:27 +08:00
|
|
|
pkgdesc="Convert xml to many other formats"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://pagure.io/xmlto/"
|
|
|
|
license=('GPL')
|
2024-11-01 23:46:17 +08:00
|
|
|
depends=('libxslt' 'docbook-xml' 'docbook-xsl')
|
2024-10-17 18:24:14 +08:00
|
|
|
source=(https://pagure.io/xmlto/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
|
|
|
sha256sums=(40504db68718385a4eaa9154a28f59e51e59d006d1aa14f5bc9d6fded1d6017a)
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
autoreconf -fiv
|
|
|
|
}
|
2024-10-17 18:17:27 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
|
2024-10-17 18:24:14 +08:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib64 \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
BASH=/bin/bash
|
2024-10-17 18:17:27 +08:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|