mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 01:32:26 +01:00
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gnumeric
|
|
pkgver=1.12.18
|
|
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"
|
|
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="14897887000c7c6ca4e1e1d2dd230ee7 gnumeric-1.12.18.tar.xz"
|
|
sha256sums="402224f858cfa4e91503ab1be0491fa3322713dabe56b6eae171def8b736d9e9 gnumeric-1.12.18.tar.xz"
|
|
sha512sums="241a80d79d1d20f484b2e262b86c6dd12192842b5baf7f11c3402b63810f1e67080b6ec44f05a1de88ae3f0cd476cd9ffb2ecbebe2cdf9104bb45287c8e5b8b9 gnumeric-1.12.18.tar.xz"
|