PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/libzip/PAGBUILD.yaml main

33 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233
pkgname: libzip
pkgver: '1.12.1'
pkgrel: '1'
pkgdesc: 'A C library for reading, creating, and modifying zip archives'
url: 'https://www.nih.at/libzip/index.html'
arch: x86_64
depends:
- openssl
- zstd
makedepends:
- cmake

source:
- 'https://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_INSTALL_LIBDIR=lib \
  -DENABLE_BZIP2=OFF \
  ..
  make
  make DESTDIR=${PKGDIR} install

  install -Dm644 ../LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE

package: |
  true