mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/zim-tools: new aport
https://github.com/openzim/zim-tools Various ZIM command line tools: zimsearch, zimbench, zimdump, zimdiff, zimpatch, zimsplit, and zimcheck Closes: GH-7973
This commit is contained in:
parent
2a319ee5c4
commit
055500a844
35
testing/zim-tools/APKBUILD
Normal file
35
testing/zim-tools/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Contributor: Oleg Titov <oleg.titov@gmail.com>
|
||||
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
||||
pkgname=zim-tools
|
||||
pkgver=1.0.1
|
||||
pkgrel=0
|
||||
pkgdesc="Various ZIM command line tools"
|
||||
url="https://github.com/openzim/zim-tools"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
options="!check" # No test suite from upstream
|
||||
makedepends="meson libzim-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="zim-tools-$pkgver.tar.gz::https://github.com/openzim/zim-tools/archive/$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
mkdir build
|
||||
|
||||
meson . build \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var \
|
||||
--buildtype=release
|
||||
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
}
|
||||
|
||||
sha512sums="0a4194d25740da3bf6b455e29a8d1c498ac29c7a90060790c4221c6024de90f87c6de11fbf6bee5c14e7d1b80340241d185bd231adac3a761c77568c038dfc2f zim-tools-1.0.1.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user