aboutsummaryrefslogblamecommitdiffstats
path: root/main/libgsf/APKBUILD
blob: a73e143c7e349d1cc5d66feff006651233436f28 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
              
        




                                                                                                                 
                                                                     

                                                                                      
                                                      
 
         









                                                                             




                                                  


                                                                   
                                                                  
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgsf
pkgver=1.14.18
pkgrel=4
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats."
url="http://www.gnome.org/"
license="GPL LGPL"
subpackages="$pkgname-dev $pkgname-doc"
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.bz2"

depends_dev="glib-dev bzip2-dev libxml2-dev pkgconfig"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.* || return 1
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--mandir=/usr/share/man \
		--disable-static \
		--without-gnome-vfs \
		--without-bonobo || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/share/man/man1/gsf-office-thumbnailer.1
}

md5sums="2c15d875b1931c40c7e7a2368f3ed948  libgsf-1.14.18.tar.bz2"