aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnumeric/APKBUILD
blob: ab2450b2bb53ae10e081278bf77ceefad691994c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.12.36
pkgrel=0
pkgdesc="A GNOME Spreadsheet Program"
url="http://www.gnome.org/projects/gnumeric/"
arch="all"
license="GPL"
makedepends="gtk+3.0-dev intltool desktop-file-utils goffice-dev rarian
	python2-dev py-gobject3-dev libxslt-dev bison flex itstool
	libxml2-utils
	autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	unbreak-build-by-skipping-cs.patch
	"

builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--with-python
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="f39f260423732dc76eb90658b77a123fdda4ef05c6d93fc41632732898feb02e60bd7a3c198a9e9e317dbce83e34d5206d5e8eb1f3a74f53509843fb096e093b  gnumeric-1.12.36.tar.xz
8162b0901e7acf586f4f5be103e2507c17da38ef4e22ce98011dba076de14ea819d346d11917d4d5c70c328b876d890bad2d6b3cede793d218033a59853a0d81  unbreak-build-by-skipping-cs.patch"