summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD24
2 files changed, 6 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1af3ae411da..3e49f7eddcc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Oct 28 22:38:04 UTC 2016
+# Sat Sep 2 07:39:22 UTC 2017
pkgbase = mingw-w64-minizip
pkgdesc = ZIP file extraction library (mingw-w64)
pkgver = 1.2.8
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://github.com/nmoinvaz/minizip
arch = any
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"
-# }