archrelease: copy trunk to extra-x86_64
[arch-packages.git] / zziplib / trunk / PKGBUILD
blob8fa47a78548f7f76dba504d457c4e379043ce28e
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Rémy Oudompheng <remy@archlinux.org>
3 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
4 # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
6 pkgname=zziplib
7 pkgver=0.13.72
8 pkgrel=2
9 pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file"
10 arch=('x86_64')
11 url="https://github.com/gdraheim/zziplib"
12 license=('LGPL' 'MPL')
13 depends=('zlib')
14 makedepends=('python' 'xmlto' 'zip' 'cmake' 'ninja')
15 checkdepends=('unzip')
16 source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz")
17 sha512sums=('4bb089e74813c6fac9657cd96e44e4a6469bf86aba3980d885c4573e8db45e74fd07bbdfcec9f36297c72227c8c0b2c37dab1bc4326cef8529960e482fe501c8')
19 build() {
20   cd ${pkgname}-${pkgver}
21   cmake \
22     -Bbuild \
23     -GNinja \
24     -DZZIPDOCS=OFF \
25     -DCMAKE_INSTALL_PREFIX=/usr
26   ninja -C build
29 # Broken for some reason :/
30 # check() {
31 #   cd ${pkgname}-${pkgver}
32 #   ninja -C build check
33 # }
35 package() {
36   cd ${pkgname}-${pkgver}
37   DESTDIR="${pkgdir}" ninja -C build install
40 # vim: set ts=2 sw=2 et: