summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-11-01 06:28:59 +0100
committerMichel Zou2018-11-01 06:28:59 +0100
commita6aa03d92e4f0a18fee1ffc471bd040163982545 (patch)
treeb6f2fed07f53e8a34c87a9bbc159f053ec84f3a5
parent3e601de0ab05b50d083e6ca263ffd9affea95d1b (diff)
downloadaur-a6aa03d92e4f0a18fee1ffc471bd040163982545.tar.gz
Revert "2.3.8"
This reverts commit 3e601de0ab05b50d083e6ca263ffd9affea95d1b.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 26 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f390020893..3e49f7eddcc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,22 @@
+# Generated by mksrcinfo v8
+# Sat Sep 2 07:39:22 UTC 2017
pkgbase = mingw-w64-minizip
pkgdesc = ZIP file extraction library (mingw-w64)
- pkgver = 2.3.8
- pkgrel = 1
+ pkgver = 1.2.8
+ pkgrel = 2
+ epoch = 1
url = https://github.com/nmoinvaz/minizip
arch = any
license = ZLIB
license = custom
- makedepends = mingw-w64-cmake
+ makedepends = git
+ makedepends = mingw-w64-configure
depends = mingw-w64-zlib
options = !buildflags
options = staticlibs
options = !strip
- source = https://github.com/nmoinvaz/minizip/archive/2.3.8.tar.gz
- sha256sums = 8752d8a3d45f264d36e427774118f94d507236482698736c6194ca00cef91df6
+ source = git://github.com/nmoinvaz/minizip.git#commit=dc41b3b
+ md5sums = SKIP
pkgname = mingw-w64-minizip
diff --git a/PKGBUILD b/PKGBUILD
index 8313eca803a..aa780f6d5e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,32 @@
pkgname=mingw-w64-minizip
-pkgver=2.3.8
-pkgrel=1
+pkgver=1.2.8
+pkgrel=2
+epoch=1
pkgdesc='ZIP file extraction library (mingw-w64)'
url='https://github.com/nmoinvaz/minizip'
license=('ZLIB' 'custom')
arch=('any')
-makedepends=('mingw-w64-cmake')
+makedepends=('git' 'mingw-w64-configure')
options=('!buildflags' 'staticlibs' '!strip')
depends=('mingw-w64-zlib')
-source=("https://github.com/nmoinvaz/minizip/archive/${pkgver}.tar.gz")
-sha256sums=("8752d8a3d45f264d36e427774118f94d507236482698736c6194ca00cef91df6")
+source=("git://github.com/nmoinvaz/minizip.git#commit=dc41b3b")
+md5sums=('SKIP')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+prepare() {
+ cd minizip
+ sed -i "s|\-version\-info|\-no\-undefined \-version\-info|g" Makefile.am
+
+ autoreconf -vfi
+}
+
build() {
- cd minizip-${pkgver}
+ cd minizip
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
- ${_arch}-cmake ..
+ ${_arch}-configure ..
make
popd
done
@@ -25,7 +34,7 @@ build() {
package() {
for _arch in ${_architectures}; do
- cd "$srcdir/minizip-${pkgver}/build-${_arch}"
+ cd "$srcdir/minizip/build-${_arch}"
make install DESTDIR="$pkgdir"
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a