diff options
Diffstat (limited to 'main/libxslt')
-rw-r--r-- | main/libxslt/APKBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD index 06802a0f92..84e3fefcad 100644 --- a/main/libxslt/APKBUILD +++ b/main/libxslt/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> pkgname=libxslt pkgver=1.1.29 -pkgrel=2 +pkgrel=3 pkgdesc="XML stylesheet transformation library" url="http://xmlsoft.org/XSLT/" arch="all" @@ -13,24 +13,19 @@ subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py" source="ftp://xmlsoft.org/$pkgname/$pkgname-$pkgver.tar.gz CVE-2017-5029.patch " - -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver # secfixes: # 1.1.29-r1: # - CVE-2017-5029 prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" + default_prepare || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -40,9 +35,8 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } |