aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnumeric/APKBUILD
blob: 08b052f2dc25ad42f9c6ac0ba3d9586327da5555 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.12.46
pkgrel=0
pkgdesc="GNOME Spreadsheet Program"
url="https://www.gnome.org/projects/gnumeric"
arch="all !s390x"
license="GPL-2.0-or-later OR GPL-3.0-or-later"
makedepends="gtk+3.0-dev intltool desktop-file-utils goffice-dev rarian
	libxslt-dev bison flex itstool libxml2-utils autoconf automake libtool"
subpackages="$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 \
		--disable-static
	make
}

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


sha512sums="b3b3befe79f3ec8db6d7d9c80a1eed5293f5c0a9ca1d8dd131320eb031952b296147c51df1c775c6f9a0c466912e5523360373ee0b6e453e928929394ab517ea  gnumeric-1.12.46.tar.xz"