e5f1dc6000
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
30 lines
924 B
Bash
30 lines
924 B
Bash
# Template file for 'libzim'
|
|
pkgname=libzim
|
|
version=4.0.0
|
|
revision=2
|
|
build_style=meson
|
|
hostmakedepends="pkg-config git"
|
|
makedepends="liblzma-devel $(vopt_if zlib zlib-devel)
|
|
$(vopt_if xapian "xapian-core-devel icu-devel")"
|
|
short_desc="Library to read and write ZIM files"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-2.0-or-later"
|
|
#changelog="https://github.com/openzim/libzim/blob/${version}/ChangeLog"
|
|
homepage="http://www.openzim.org/"
|
|
distfiles="https://github.com/openzim/libzim/archive/${version}.tar.gz"
|
|
checksum=e195d30ba1b55dd2b6529fdd84fcbed6ec35ed4ddc957ad7725edabd20c3126c
|
|
replaces="libzim-tools>=0"
|
|
|
|
build_options="zlib xapian"
|
|
build_options_default="zlib xapian"
|
|
|
|
libzim-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}
|
|
$(vopt_if zlib zlib-devel) liblzma-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|