aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnumeric/APKBUILD
blob: a7074ba93e48b7059a86d053a3a24246fa42441b (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.38
pkgrel=0
pkgdesc="GNOME Spreadsheet Program"
url="http://www.gnome.org/projects/gnumeric"
arch="all"
license="GPL-2.0-or-later OR GPL-3.0-or-later"
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="71cf29355b865a3c0f966482ef0cbc90553326fcdc10103762d6c35c1f932371b5dffa3d3d89cd575d3f202ba041e4caaf987db08051b700757ea165508ea217  gnumeric-1.12.38.tar.xz
8162b0901e7acf586f4f5be103e2507c17da38ef4e22ce98011dba076de14ea819d346d11917d4d5c70c328b876d890bad2d6b3cede793d218033a59853a0d81  unbreak-build-by-skipping-cs.patch"