summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-07-26 23:10:50 +0200
committerMichel Zou2018-07-26 23:10:50 +0200
commit3e601de0ab05b50d083e6ca263ffd9affea95d1b (patch)
treecaf35313d3c03395bb0cee3a54500693b0362ec6
parent0a05c0b2f19762f991e3bce1312efcb3f46e0c40 (diff)
downloadaur-3e601de0ab05b50d083e6ca263ffd9affea95d1b.tar.gz
2.3.8
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 13 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3e49f7eddcc..8f390020893 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,18 @@
-# Generated by mksrcinfo v8
-# Sat Sep 2 07:39:22 UTC 2017
pkgbase = mingw-w64-minizip
pkgdesc = ZIP file extraction library (mingw-w64)
- pkgver = 1.2.8
- pkgrel = 2
- epoch = 1
+ pkgver = 2.3.8
+ pkgrel = 1
url = https://github.com/nmoinvaz/minizip
arch = any
license = ZLIB
license = custom
- makedepends = git
- makedepends = mingw-w64-configure
+ makedepends = mingw-w64-cmake
depends = mingw-w64-zlib
options = !buildflags
options = staticlibs
options = !strip
- source = git://github.com/nmoinvaz/minizip.git#commit=dc41b3b
- md5sums = SKIP
+ source = https://github.com/nmoinvaz/minizip/archive/2.3.8.tar.gz
+ sha256sums = 8752d8a3d45f264d36e427774118f94d507236482698736c6194ca00cef91df6
pkgname = mingw-w64-minizip
diff --git a/PKGBUILD b/PKGBUILD
index aa780f6d5e9..8313eca803a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,23 @@
pkgname=mingw-w64-minizip
-pkgver=1.2.8
-pkgrel=2
-epoch=1
+pkgver=2.3.8
+pkgrel=1
pkgdesc='ZIP file extraction library (mingw-w64)'
url='https://github.com/nmoinvaz/minizip'
license=('ZLIB' 'custom')
arch=('any')
-makedepends=('git' 'mingw-w64-configure')
+makedepends=('mingw-w64-cmake')
options=('!buildflags' 'staticlibs' '!strip')
depends=('mingw-w64-zlib')
-source=("git://github.com/nmoinvaz/minizip.git#commit=dc41b3b")
-md5sums=('SKIP')
+source=("https://github.com/nmoinvaz/minizip/archive/${pkgver}.tar.gz")
+sha256sums=("8752d8a3d45f264d36e427774118f94d507236482698736c6194ca00cef91df6")
_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
+ cd minizip-${pkgver}
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
- ${_arch}-configure ..
+ ${_arch}-cmake ..
make
popd
done
@@ -34,7 +25,7 @@ build() {
package() {
for _arch in ${_architectures}; do
- cd "$srcdir/minizip/build-${_arch}"
+ cd "$srcdir/minizip-${pkgver}/build-${_arch}"
make install DESTDIR="$pkgdir"
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a