diff options
author | Michel Zou | 2018-07-26 23:10:50 +0200 |
---|---|---|
committer | Michel Zou | 2018-07-26 23:10:50 +0200 |
commit | 3e601de0ab05b50d083e6ca263ffd9affea95d1b (patch) | |
tree | caf35313d3c03395bb0cee3a54500693b0362ec6 | |
parent | 0a05c0b2f19762f991e3bce1312efcb3f46e0c40 (diff) | |
download | aur-3e601de0ab05b50d083e6ca263ffd9affea95d1b.tar.gz |
2.3.8
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 13 insertions, 26 deletions
@@ -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 @@ -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 |