mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 12:51:44 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gnumeric
|
|
pkgver=1.12.23
|
|
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 libxslt-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
|
|
}
|
|
|
|
md5sums="4e1844f3fd6162a7b0a96d3325dcac5d gnumeric-1.12.23.tar.xz"
|
|
sha256sums="00474cbf1e70f62062974d0beb5f65ebc45d1047bc8fd0a1133e3d9725e19551 gnumeric-1.12.23.tar.xz"
|
|
sha512sums="58f7667196cef453a24689640d21f7de20b052502fcd8f18c9abbe3ca6210d183e0bd53080ba0d6686f145400f404e75f4ed691c90801c5e2cb9f0168420cca0 gnumeric-1.12.23.tar.xz"
|