1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
7 pkgdesc="A C library for reading, creating, and modifying zip archives"
8 url="https://libzip.org"
11 depends=('zlib' 'bzip2' 'zstd' 'openssl' 'gnutls')
13 provides=('libzip.so')
14 source=("${url}/download/${pkgname}-${pkgver}.tar.xz")
15 sha256sums=('c93e9852b7b2dc931197831438fee5295976ee0ba24f8524a8907be5c2ba5937')
18 cd "${pkgname}-${pkgver}"
20 mkdir build && cd build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_INSTALL_LIBDIR=lib \
28 cd "${pkgname}-${pkgver}"/build
30 make DESTDIR="${pkgdir}" install
31 install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"