summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 4 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index badbd128559..aa780f6d5e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-minizip
pkgver=1.2.8
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='ZIP file extraction library (mingw-w64)'
url='https://github.com/nmoinvaz/minizip'
@@ -17,10 +17,9 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
prepare() {
cd minizip
+ sed -i "s|\-version\-info|\-no\-undefined \-version\-info|g" Makefile.am
- rm -f Makefile
- autoreconf -i
- autoconf && automake --add-missing && automake
+ autoreconf -vfi
}
build() {
@@ -37,22 +36,7 @@ package() {
for _arch in ${_architectures}; do
cd "$srcdir/minizip/build-${_arch}"
make install DESTDIR="$pkgdir"
-# ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
+ ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done
}
-#
-# build() {
-# cd minizip
-#
-# ./configure --prefix=/usr
-# make
-# }
-#
-# package() {
-# cd minizip
-#
-# make install DESTDIR="$pkgdir"
-# libtool --finish "$pkgdir/usr/lib"
-# install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-# }