blob: 3c1b4a0eb1c882c86a578ab427723bdc72b589ef (
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
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rarian
pkgver=0.8.1
pkgrel=6
pkgdesc="Documentation meta-data library, designed as a replacement for Scrollkeeper."
url="http://rarian.freedesktop.org/"
arch="all"
license="GPL"
subpackages="$pkgname-dev"
depends="bash"
makedepends="libxslt-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2
user-segfault.patch"
_builddir=""$srcdir/$pkgname-$pkgver""
prepare() {
cd "$_builddir"
update_config_sub || return 1
patch -p0 -i "$srcdir"/user-segfault.patch || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-scrollkeeper-compat \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="75091185e13da67a0ff4279de1757b94 rarian-0.8.1.tar.bz2
457e9827197009cfa360911fe49a5ad7 user-segfault.patch"
|