blob: fbcbb5c8f611c25d5abf5eaed1f6bd309211d604 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.12.11
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 goffice-dev rarian
python-dev py-gobject3-dev"
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"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--with-python \
|| return 1
make itlocaledir="/usr/share/locale" || return 1
}
package() {
cd "$_builddir"
make -j1 itlocaledir="/usr/share/locale" \
DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/*/*/plugins/*/*.la
}
md5sums="8acf14dc129c681d8a34e83cbb333fb2 gnumeric-1.12.11.tar.xz"
sha256sums="554224f8a91743702b90010bf4bd7f04b9086e89c023a2aa1b2dbc31426c538f gnumeric-1.12.11.tar.xz"
sha512sums="c06e4cf35f594f5bd0eead414c36d26be9b1e767c71779b22f760f67c49c7e8022d6098bdd8993e73ae4c21397efa428f05cb0aa0cf7cfc952a5ca08d08e1ec3 gnumeric-1.12.11.tar.xz"
|