blob: eced6e6dc84b557979b25fda5dcac43b06cf487a (
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
40
41
42
43
44
45
46
|
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=libzim
pkgver=5.0.0
pkgrel=2
pkgdesc="Reference implementation of the ZIM file format"
url="https://openzim.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="meson
zlib-dev
xz-dev
libexecinfo
libexecinfo-dev
icu-dev
xapian-core-dev
gtest-dev
python3-dev
cython
"
checkdepends="gtest"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/openzim/$pkgname/archive/$pkgver.tar.gz"
build() {
LDFLAGS=-lexecinfo meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
. output
ninja -C output
}
check() {
SKIP_BIG_MEMORY_TEST=1 ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
}
sha512sums="b1d5bee583364dcd7967e3b826afb08bea25a11512b7a522cb74cde25ae304d4b7f65354ec2160599d145c5b67ba26109e281482021ba1d8d88a1041c0c785d9 libzim-5.0.0.tar.gz"
|