aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnumeric/APKBUILD
blob: 66902bdc48eda274784a9b87f6d2be26cf5f4a32 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.10.17
pkgrel=2
pkgdesc="A GNOME Spreadsheet Program"
url="http://www.gnome.org/projects/gnumeric/"
arch="all"
license="GPL"
makedepends="gtk+-dev intltool desktop-file-utils libglade-dev goffice-dev
	rarian"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.10/$pkgname-$pkgver.tar.bz2"

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

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la \
		"$pkgdir"/usr/lib/*/*/plugins/*/*.la
}

md5sums="aacc0899222c98fa9cdd85c49a6840be  gnumeric-1.10.17.tar.bz2"