aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnumeric/APKBUILD
blob: 998231b3d2992606ae3be2653c850c2e7f0284ac (plain) (blame)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.12.48
pkgrel=0
pkgdesc="GNOME Spreadsheet Program"
url="https://www.gnome.org/projects/gnumeric"
arch="all !s390x !mips !mips64"
license="GPL-2.0-or-later OR GPL-3.0-or-later"
options="!check" # failing tests
makedepends="
	autoconf
	automake
	bison
	desktop-file-utils
	flex
	goffice-dev
	gtk+3.0-dev
	intltool
	itstool
	libtool
	libxml2-utils
	libxslt-dev
	py3-gobject3-dev
	python3-dev
	rarian
	"
checkdepends="
	perl-exporter
	perl-file-basedir
	perl-xml-parser
	"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnumeric/${pkgver%.*}/gnumeric-$pkgver.tar.xz"

prepare() {
	default_prepare
	autoreconf -vif
}

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

check() {
	make check
}

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


sha512sums="6c17e95ecd88b43da0f4f23d9c99dad5d0016f9618570a36be5998fa84c144bb5d13749fd9c4fe0c295e3c80d70c717d09763cc9904dfc1df062b96749b73ebc  gnumeric-1.12.48.tar.xz"