summaryrefslogtreecommitdiff
path: root/repo/rarian/rarian.xibuild
blob: 854539f6d8cad22a623284ca8882581ef392ca4a (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
#!/bin/sh

NAME="rarian"
DESC="Documentation meta-data library, designed as a replacement for Scrollkeeper."

MAKEDEPS="libxslt"

PKG_VER=0.8.1
SOURCE="https://download.gnome.org/sources/rarian/0.8/rarian-$PKG_VER.tar.bz2"

ADDITIONAL="
user-segfault.patch
"

prepare() {
	cd "$BUILD_ROOT"
	apply_patches
}

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

package() {
	cd "$BUILD_ROOT"
	make -j1 DESTDIR="$PKG_DEST" install
}