blob: eff4d6f3b4067d25342637a7de02b13709fc49ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=zziplib
pkgver=0.13.67
pkgrel=0
pkgdesc="Lightweight library to easily extract data from zip files"
url="http://zziplib.sourceforge.net"
arch="all"
license="LGPL2+ MPL-1.1"
makedepends="zlib-dev python2 xmlto"
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
source="$pkgname-$pkgver.tar.gz::https://github.com/gdraheim/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
update_config_guess
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--disable-static
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
utils() {
pkgdesc="Utilities for the zziplib library"
install -d "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
sha512sums="a34b801a18a2051aa3898a572508ffd327521b69878413af679b10f6a68b37e770651884ae611bf9c01ce14013c6a1e06adeadd3ef6219d4b9278f1b9e7a6459 zziplib-0.13.67.tar.gz"
|