aboutsummaryrefslogtreecommitdiffstats
path: root/main/rarian/APKBUILD
blob: d41be593fc9446fea7f9e87fcf83e9bc391d9e56 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rarian
pkgver=0.8.1
pkgrel=7
pkgdesc="Documentation meta-data library, designed as a replacement for Scrollkeeper."
url="https://rarian.freedesktop.org/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+, LGPL-2.1+, Zlib"
subpackages="$pkgname-dev"
depends="bash"
makedepends="libxslt-dev"
source="https://download.gnome.org/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2
	user-segfault.patch"

prepare() {
	cd "$builddir"
	update_config_sub
	default_prepare
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-scrollkeeper-compat \
		--disable-static
	make
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="64f3e7fbe423e45a59453805fe6b4116e0ffad43c7e88fe362d76a326c70936c6b46c4a4dc57cf43e3535c16f2f07fa1b2affa0aaeae637ee3ede48850c1fc60  rarian-0.8.1.tar.bz2
d5aa41c69e1ba43850e58914526b2f93377a7f293729dc6fb39a9daa7321a70e9eb5c417ec8705618dfd69628efc86776e425eed55ceae4a003a8cd074592166  user-segfault.patch"