aboutsummaryrefslogtreecommitdiffstats
path: root/community/goffice/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-12-25 12:33:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-12-25 12:33:46 +0000
commit318ad331e239e410b199e29c82e3f412a1b5a1b8 (patch)
tree5a0df46daa6143420fddf71fe60b6bb2bf0b61d9 /community/goffice/APKBUILD
parent50ecbf794e52b2cb2ed1ba07b83a11c80352a5bf (diff)
downloadaports-318ad331e239e410b199e29c82e3f412a1b5a1b8.tar.bz2
aports-318ad331e239e410b199e29c82e3f412a1b5a1b8.tar.xz
community/{goffice,abiword,gnumeric}: move from main
Diffstat (limited to 'community/goffice/APKBUILD')
-rw-r--r--community/goffice/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/goffice/APKBUILD b/community/goffice/APKBUILD
new file mode 100644
index 0000000000..6c5838e033
--- /dev/null
+++ b/community/goffice/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=goffice
+pkgver=0.10.37
+pkgrel=0
+_maj=${pkgver%%.*}
+_min=${pkgver#${_maj}.}
+_min=${_min%%.*}
+pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+"
+url="http://www.gnome.org"
+arch="all"
+license="GPL"
+depends_dev="glib-dev libgsf-dev cairo-dev libxml2-dev gtk+3.0-dev librsvg-dev"
+makedepends="$depends_dev intltool gtk+-dev autoconf automake libtool gtk-doc
+ libxslt-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/$pkgname/$_maj.$_min/$pkgname-$pkgver.tar.xz"
+
+prepare() {
+ default_prepare
+ libtoolize --force && aclocal && autoconf \
+ && automake --add-missing --gnu
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0d4a3465fc37ba46e04b12af8f8163348a03b144883765dce252f80502a771d066ce2d2c4d67425b0e8ad1caa3dd04fe49acdb7b2ec76edd4d3eabdb7da36254 goffice-0.10.37.tar.xz"