blob: 4951e1fc49d07b709bd04e2219c3f61d7f52673b (
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
44
45
46
47
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgsf
pkgver=1.14.39
pkgrel=2
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats."
url="http://www.gnome.org/"
arch="all"
license="GPL LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
makedepends="libxml2-dev glib-dev bzip2-dev intltool python zlib-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/1.14/$pkgname-$pkgver.tar.xz"
depends_dev="bzip2-dev"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.* || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--disable-static \
--without-gnome-vfs \
--without-bonobo \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/share/man/man1/gsf-office-thumbnailer.1
}
md5sums="df59805ccb44a5657676bbd16fe1fe9c libgsf-1.14.39.tar.xz"
sha256sums="3dcfc911438bf6fae5fe842e85a9ac14324d85165bd4035caad4a4420f15a175 libgsf-1.14.39.tar.xz"
sha512sums="051bfba16f483dccbab4188c9c62ec562cc0b8fde3412260be3409417beea2d662c81c50bba1202b0067e75b83467a3bdd6fe0a09c3b6df9fcf3667004ab674e libgsf-1.14.39.tar.xz"
|