aboutsummaryrefslogblamecommitdiffstats
path: root/testing/zimwriterfs/APKBUILD
blob: 5fe65a5ae8e665659e3660b4cac2e76b8aff5466 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                
            



                                          
                          





                                                                                            










                                         



                           

                                                


                                                                     
                                                                                                                                                                       
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=zimwriterfs
pkgver=1.3.4
pkgrel=0
pkgdesc="Console tool to create ZIM files"
url="https://openzim.org/"
arch="all"
license="GPL-3.0-or-later"
makedepends="meson gumbo-parser-dev file-dev libzim-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/openzim/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install

	install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
}

sha512sums="101117224bdfda054839227fe855c3c366734e67ad89e77ceba16167abd7f1c15237ddbf337777da3b5ef06280f3a57a6bea99bbc9ea4a34c6d8dd9a49bfc229  zimwriterfs-1.3.4.tar.gz"