summaryrefslogtreecommitdiff
path: root/pcr/kiwix-tools/PKGBUILD
blob: 35178d5522dff5541a6cedddad23a6f711087c37 (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
# Maintainer (AUR): hashworks <mail@hashworks.net>

# parabola changes and rationale:
# - No changes

pkgname=kiwix-tools
pkgver=3.0.1
pkgrel=8
pkgdesc="kiwix command line tools"
license=('GPL3')
arch=('armv7h' 'i686' 'x86_64')
replaces=('kiwix-cli-git')
depends=('kiwix-lib')
makedepends=('meson')
url='https://github.com/kiwix/kiwix-tools'
source=("https://github.com/kiwix/kiwix-tools/archive/${pkgver}.tar.gz")
sha256sums=(b4d2ff9dfb7d71bb06ee837392a714cf8934d21dba65d5d051c0caa0112e4974)

build() {
	cd "${pkgname}-${pkgver}"
	arch-meson build
	ninja -C build
}

check() {
	cd "${pkgname}-${pkgver}/build"
	ninja meson-test
}

package() {
	cd "${pkgname}-${pkgver}/build"
	DESTDIR="${pkgdir}" ninja install
}