summaryrefslogtreecommitdiff
path: root/user/goffice/APKBUILD
diff options
context:
space:
mode:
authormultiplexd <multi@in-addr.xyz>2019-01-07 21:20:38 +0000
committermultiplexd <multi@in-addr.xyz>2019-01-07 21:22:41 +0000
commitaaed1d384ec219669ec3680e1f9e6b3a42d775e0 (patch)
treedf437c3be6b3b43f194ab12b90eaa89b34d2d0de /user/goffice/APKBUILD
parent1ad06a5d72f1861e8a5a8223a36bb650919a0d89 (diff)
downloadpackages-aaed1d384ec219669ec3680e1f9e6b3a42d775e0.tar.gz
packages-aaed1d384ec219669ec3680e1f9e6b3a42d775e0.tar.bz2
packages-aaed1d384ec219669ec3680e1f9e6b3a42d775e0.tar.xz
packages-aaed1d384ec219669ec3680e1f9e6b3a42d775e0.zip
user/goffice: new package
Diffstat (limited to 'user/goffice/APKBUILD')
-rw-r--r--user/goffice/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/goffice/APKBUILD b/user/goffice/APKBUILD
new file mode 100644
index 000000000..0b5fc833b
--- /dev/null
+++ b/user/goffice/APKBUILD
@@ -0,0 +1,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"