aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnumeric/APKBUILD
blob: bc9799b384ae7bdababc4fa3f6c1365752586531 (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.39
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="8ae09ea857989e65a8fe2070b30c2309d82daa4142816ef3a1b107035aea0d71498d84eaeeaa870a1587e3785146fad3304321a531c75f6e2f200def53a8e898  gnumeric-1.12.39.tar.xz
8162b0901e7acf586f4f5be103e2507c17da38ef4e22ce98011dba076de14ea819d346d11917d4d5c70c328b876d890bad2d6b3cede793d218033a59853a0d81  unbreak-build-by-skipping-cs.patch"