new blfs: app-text/xmlto-0.0.29
This commit is contained in:
33
app-text/xmlto-0.0.29.PKGBUILD
Normal file
33
app-text/xmlto-0.0.29.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
pkgname=xmlto
|
||||||
|
pkgver=0.0.29
|
||||||
|
pkgdesc="Convert xml to many other formats"
|
||||||
|
arch=('x86_64')
|
||||||
|
homepage="https://pagure.io/xmlto/"
|
||||||
|
license=('GPL')
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||||
|
urls=("https://pagure.io/xmlto/archive/${pkgver}/${sources[0]}")
|
||||||
|
md5sums=("556f2642cdcd005749bd4c08bc621c37")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
autoreconf -fiv
|
||||||
|
|
||||||
|
./configure BASH=/bin/bash \
|
||||||
|
LINKS="/usr/bin/links" \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/share/man
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
src_check() {
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user