summaryrefslogtreecommitdiffstats
path: root/main/gnumeric/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-11 13:59:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-11 14:06:12 +0000
commit754908747d217d5cf6fb5c3dc22b1fb309d521d2 (patch)
tree7afd4d7fa857c906b7ee6188ee332818f93e76f6 /main/gnumeric/APKBUILD
parent89a0eadfa627882735c5da6175e27ef1268f7dbc (diff)
downloadaports-754908747d217d5cf6fb5c3dc22b1fb309d521d2.tar.bz2
aports-754908747d217d5cf6fb5c3dc22b1fb309d521d2.tar.xz
main/gnumeric: upgrade to 1.12.1
Diffstat (limited to 'main/gnumeric/APKBUILD')
-rw-r--r--main/gnumeric/APKBUILD22
1 files changed, 17 insertions, 5 deletions
diff --git a/main/gnumeric/APKBUILD b/main/gnumeric/APKBUILD
index 43807d606..21ddf854d 100644
--- a/main/gnumeric/APKBUILD
+++ b/main/gnumeric/APKBUILD
@@ -1,18 +1,27 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
-pkgver=1.12.0
+pkgver=1.12.1
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"
+ 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
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
build() {
cd "$_builddir"
./configure --prefix=/usr \
@@ -21,14 +30,17 @@ build() {
--disable-schemas-install \
--disable-static \
--enable-ssindex || return 1
- make || return 1
+ make itlocaledir="/usr/share/locale" || return 1
}
package() {
cd "$_builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ make -j1 itlocaledir="/usr/share/locale" \
+ DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/*/*/plugins/*/*.la
}
-md5sums="3fd87cca95334b5d8ac922989670fe27 gnumeric-1.12.0.tar.xz"
+md5sums="b6b56865113678a6f59b7f9f43be737d gnumeric-1.12.1.tar.xz"
+sha256sums="0f5a7af3acae7db643eb00e8b4fca6a9e90162259c6a73e4214cfa8c96cc3901 gnumeric-1.12.1.tar.xz"
+sha512sums="641d8ac9e57f397a84c0112c325482093ef0c5172fec2027788cb53193e065ebf093ffa91949da10907c1cd9150d73d84fb96096df8e7f4f7ad3cd9d2bb7ca29 gnumeric-1.12.1.tar.xz"