21 lines
503 B
Plaintext
21 lines
503 B
Plaintext
# Description: Library to handle zip files
|
|
# URL: https://libzip.org
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: cmake xz zlib bzip2 openssl
|
|
|
|
name=libzip
|
|
version=1.7.3
|
|
release=1
|
|
source=(https://libzip.org/download/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cmake -S$name-$version -Bbuild \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DENABLE_GNUTLS=OFF
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|