contrib/zziplib/Pkgfile

30 lines
711 B
Plaintext
Raw Normal View History

2019-07-06 21:05:38 +02:00
# Description: ZIP-access Library with Easy-to-use API
# URL: https://github.com/gdraheim/zziplib
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
# Depends on: zlib python
name=zziplib
2020-04-19 22:54:36 +02:00
version=0.13.71
release=1
source=(https://github.com/gdraheim/$name/archive/v$version/$name-$version.tar.gz)
2019-07-06 21:05:38 +02:00
build() {
cd $name-$version
# docs building currently broken for almost 1/6 or more of manpages
# TODO: troubleshoot and report upstream
sed -i -e 's,^\(SUBDIRS = .*\) docs\(.*\)$,\1\2,' \
-e 's,^\(DIST_SUBDIRS = .*\) docs\(.*\)$,\1\2,' Makefile.in
mkdir build
cd build
CONFIG_SHELL=/bin/bash \
../configure \
--prefix=/usr \
--disable-static
make
make DESTDIR=$PKG install
}