diff --git a/pkg.info b/pkg.info index dda85a2..bd99602 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: xmlto description: Shell script for converting XML files to various formats -version: 0.0.28 +version: 0.0.29 url: https://pagure.io/xmlto/ license: GPL2 architecture: any diff --git a/source.sh b/source.sh index 7606e88..f112357 100644 --- a/source.sh +++ b/source.sh @@ -15,7 +15,9 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - ./configure --prefix=/usr + autoreconf -i + + BASH=/bin/bash ./configure --prefix=/usr make } @@ -30,5 +32,6 @@ check() { package() { make DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xmlto/COPYING }