37 lines
1003 B
Bash
37 lines
1003 B
Bash
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
|
|
|
pkgname=xmlto
|
|
pkgver=0.0.28
|
|
pkgrel=4
|
|
pkgdesc="Convert xml to many other formats"
|
|
arch=('i686' 'x86_64')
|
|
url="https://pagure.io/xmlto/"
|
|
msys2_references=(
|
|
"anitya: 13307"
|
|
)
|
|
license=('GPL')
|
|
depends=('libxslt' 'perl-YAML-Syck' 'perl-Test-Pod')
|
|
makedepends=('docbook-xsl' 'autotools' 'gcc')
|
|
source=("https://releases.pagure.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
|
|
0001-xmlto-convert-output-path-to-unix-path-on-cygwin-msy.patch)
|
|
sha256sums=('1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276'
|
|
'981e200d9470852048df58fa7afbd02264b75d81b8e572c1aba3dc1487ad0f9d')
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p1 -i ${srcdir}/0001-xmlto-convert-output-path-to-unix-path-on-cygwin-msy.patch
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|