* update minizip-ng to 4.0.0-2
This commit is contained in:
parent
a1cc705cd0
commit
1f88ee1287
@ -2,8 +2,8 @@
|
|||||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||||
|
|
||||||
pkgname=minizip-ng
|
pkgname=minizip-ng
|
||||||
pkgver=3.0.10
|
pkgver=4.0.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Fork of the popular zip manipulation library found in the zlib distribution'
|
pkgdesc='Fork of the popular zip manipulation library found in the zlib distribution'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url='https://github.com/zlib-ng/minizip-ng'
|
url='https://github.com/zlib-ng/minizip-ng'
|
||||||
@ -11,18 +11,17 @@ license=(custom)
|
|||||||
depends=(openssl bzip2 zstd)
|
depends=(openssl bzip2 zstd)
|
||||||
makedepends=(cmake)
|
makedepends=(cmake)
|
||||||
source=(https://github.com/zlib-ng/minizip-ng/archive/$pkgver/$pkgname-$pkgver.tar.gz)
|
source=(https://github.com/zlib-ng/minizip-ng/archive/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||||
sha256sums=('d4a549731d8c7074e421dbab6d8b8ad0a93067752fe767c464f0f40fa5f0a80d')
|
sha256sums=('f9062e576de026fd5026d65597de3b05263cd4d91400cacdbbe36dfa8a642fff')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S $pkgname-$pkgver \
|
cmake -B build -S $pkgname-$pkgver \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DMZ_PROJECT_SUFFIX="-ng" \
|
-DMZ_LIB_SUFFIX="-ng" \
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
DESTDIR="$pkgdir" cmake --install build
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
rm "$pkgdir"/usr/include/{,un}zip.h # Conflict with libzip
|
|
||||||
install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user