# Maintainer: Natanael Copa pkgname=gnumeric pkgver=1.12.0 pkgrel=0 pkgdesc="A GNOME Spreadsheet Program" url="http://www.gnome.org/projects/gnumeric/" arch="all" license="GPL" makedepends="gtk+3.0-dev intltool desktop-file-utils libglade-dev goffice-dev rarian" install= subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.12/$pkgname-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-schemas-install \ --disable-static \ --enable-ssindex || return 1 make || return 1 } package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la \ "$pkgdir"/usr/lib/*/*/plugins/*/*.la } md5sums="3fd87cca95334b5d8ac922989670fe27 gnumeric-1.12.0.tar.xz"