aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnumeric/APKBUILD
blob: a1a3ea6a0eca98beafe807e219de014bbba6e6a9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.12.47
pkgrel=1
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"
makedepends="gtk+3.0-dev intltool desktop-file-utils goffice-dev rarian
	libxslt-dev bison flex itstool libxml2-utils autoconf automake libtool"
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 \
		--disable-static
	make
}

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


sha512sums="f6298fee752b062672acc20e18388d7424719d69ce9586888f33be07ca92bbd7d99e46b98e9ab2a546d1954d3113b59a5105d46c4e8a13e65e1ae9acc38391ab  gnumeric-1.12.47.tar.xz"