blob: 3ca26ac6a3c469b3f6cf041506e6295395ce771b (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnumeric
pkgver=1.12.3
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
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 \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-schemas-install \
--disable-static \
--enable-ssindex || 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="52d0637252930a5390adeb4e7ad27966 gnumeric-1.12.3.tar.xz"
sha256sums="b332e6785077a2e7febf26a6ccac73e9ae1813c365bc3bf851fb27a5477713a6 gnumeric-1.12.3.tar.xz"
sha512sums="f3591db341d378979eef4de5eeae0f9b7035940d46ff0876ad7cc038879a722541b098520f60078f83c47280870a0c6b90369a03394d05adcdcc10b0e072a15c gnumeric-1.12.3.tar.xz"
|