summaryrefslogtreecommitdiffstats
path: root/main/goffice/APKBUILD
blob: 51c0be8d7fd69148aab0ce1f001edc7008bfa7be (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=goffice
pkgver=0.8.3
pkgrel=0
pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+"
url="http://www.gnome.org"
license="GPL"
makedepends="libgsf-dev intltool cairo-dev gtk+-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2"

depends_dev="glib-dev libgsf-dev cairo-dev libxml2-dev"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		 --without-gconf \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="f8c4fd47e1ef9d2512126d1074952201  goffice-0.8.3.tar.bz2"