blob: 909362edab5c4771a2c659eb6e520c7d02b51288 (
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.38
pkgrel=0
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="d115fd0e973023d5d47bf9f0f76911e0 libgsf-1.14.38.tar.xz"
sha256sums="1e8c85ac9dd7828b6213685079d8fc5fb6595c929dc4a23270f297c154782650 libgsf-1.14.38.tar.xz"
sha512sums="31b201708171e3bb3f44907458c78b8a168c41c9cc637a39dbbbbc7a951c716b3307463833cc72d88ce7bd7149570aa059735be252b0d9e4d1f02907ebe537f1 libgsf-1.14.38.tar.xz"
|