🔒 Repository is read-only – file editing is disabled.

recipes/utils/libzip/PAGBUILD.yaml main

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: libzip
pkgver: '1.11.4'
pkgrel: '2'
pkgdesc: 'A C library for reading, creating, and modifying zip archives'
url: 'https://www.nih.at/libzip/index.html'
arch: x86_64
depends: []
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