summaryrefslogblamecommitdiff
path: root/user/goffice/APKBUILD
blob: 6847a0d5c5c4da8634ecec503c2b7fc2dca015cf (plain) (tree)
1
2
                                                    
             




































                                                                                                                                                                     
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
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"