summaryrefslogtreecommitdiff
path: root/user/goffice/APKBUILD
blob: 0b5fc833bccbada26a0e2e5f2d3763b2a4b17817 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: multiplexd <multi@in-addr.xyz>
pkgname=goffice
pkgver=0.10.44
pkgrel=0
pkgdesc="Library of document-centric objects and utilities built on top of GLib and Gtk+"
url="https://www.gnome.org"
arch="all"
license="(GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0+ AND MIT"
makedepends="librsvg-dev intltool gtk+2.0-dev libtool gtk-doc
	libxslt-dev gobject-introspection-dev glib-dev libgsf-dev cairo-dev
	libxml2-dev gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--enable-introspection
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="9e86440afaee4d6eadd31c328a13dc54fb4056dfc70ef0196d83bada5f05eb4fc12daf35fc4e79ea6ebfe8a97dc6ed74b50e514f9d27f08bff776ab898f1c71d  goffice-0.10.44.tar.xz"