summaryrefslogtreecommitdiff
path: root/user/gnumeric/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 02:49:22 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 02:49:22 +0000
commita2173dda292f6aebe72d819762a47403c13b5c47 (patch)
treef564f1bc5da97af2ad8b1c54e603fa287d045762 /user/gnumeric/APKBUILD
parent64b40b1c704eac72fdfa363273ec8f601f7cf5fd (diff)
downloadpackages-a2173dda292f6aebe72d819762a47403c13b5c47.tar.gz
packages-a2173dda292f6aebe72d819762a47403c13b5c47.tar.bz2
packages-a2173dda292f6aebe72d819762a47403c13b5c47.tar.xz
packages-a2173dda292f6aebe72d819762a47403c13b5c47.zip
user/gnumeric: new package
Diffstat (limited to 'user/gnumeric/APKBUILD')
-rw-r--r--user/gnumeric/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/gnumeric/APKBUILD b/user/gnumeric/APKBUILD
new file mode 100644
index 000000000..815de92d2
--- /dev/null
+++ b/user/gnumeric/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=gnumeric
+pkgver=1.12.44
+pkgrel=0
+pkgdesc="GNOME spreadsheet software"
+url="http://www.gnumeric.org/"
+arch="all"
+options="!check" # Fails with:
+# CRITICAL **: 20:41:56.049: go_conf_add_monitor: assertion 'node || key' failed
+# no clue.
+license="GPL-2.0-only OR GPL-3.0-only"
+depends=""
+makedepends="byacc gobject-introspection-dev goffice-dev gtk+3.0-dev intltool
+ itstool libgda-dev libxml2-utils perl-dev zlib-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+langdir="/usr/lib/locale"
+source="https://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.12/gnumeric-$pkgver.tar.xz
+ cs.patch
+ "
+
+build() {
+ cd "$builddir"
+ YACC=yacc ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-introspection
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ea21dcdf5fdf4e02bb9d83671675f2409f12ee928611604d7589e0047ce5d75bf6ac51e6a5322c4af520428acdccf4c2b3b8e3fc6530030e162268aea94a503f gnumeric-1.12.44.tar.xz
+24d74cec5a19f3f79a049b02b43369324fbb1432be4945988034a38d813cceeab54da67d3d9eb2eff49d248e449212d0877b20b593a8c1f70cecbdbd635cb517 cs.patch"