2022-03-20 13:34:07 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2022-04-29 21:54:02 +02:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2022-03-20 13:34:07 +01:00
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
2022-04-29 21:54:02 +02:00
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:34:07 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=gnumeric
|
2023-02-05 22:28:38 +01:00
|
|
|
pkgver=1.12.55
|
2023-04-30 04:16:33 +02:00
|
|
|
pkgrel=02
|
2022-03-20 13:34:07 +01:00
|
|
|
pkgdesc="A GNOME-less spreadsheet program"
|
|
|
|
url="http://www.gnumeric.org/"
|
|
|
|
depends=('goffice')
|
|
|
|
makedepends=('intltool' 'itstool' 'yelp-tools')
|
2023-01-24 22:19:39 +01:00
|
|
|
#_commit=858ea03fa5efd3beccc82e8dc269f35b76133d94 ## 1.12.53
|
|
|
|
#_commit=142370a40d490201f6e0eac273d760ad43715ddb ## 1.12.54
|
2023-02-05 22:28:38 +01:00
|
|
|
#_commit=aea59b387be8bd5dc509ba75820cd9377e1e34a7 ## 1.12.55
|
2022-03-20 13:34:07 +01:00
|
|
|
conflicts=('gnumeric-minimal')
|
|
|
|
provides=('gnumeric')
|
|
|
|
options=('libtool')
|
|
|
|
source=(https://gitlab.gnome.org/GNOME/gnumeric/-/archive/GNUMERIC_${pkgver//./_}/gnumeric-GNUMERIC_${pkgver//./_}.tar.bz2
|
|
|
|
revert-warnings.patch)
|
2022-09-30 00:03:25 +02:00
|
|
|
#source=("git+https://gitlab.gnome.org/GNOME/gnumeric.git#commit=$_commit"
|
|
|
|
# revert-warnings.patch)
|
2022-03-20 13:34:07 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}-GNUMERIC_${pkgver//./_}
|
|
|
|
patch -Np0 -i ../revert-warnings.patch
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-GNUMERIC_${pkgver//./_}
|
|
|
|
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
|
|
--disable-schemas-install --disable-ssindex \
|
|
|
|
--without-gnome --without-psiconv --without-perl \
|
|
|
|
--without-python --without-gda --without-systemd \
|
|
|
|
--with-help-dir=/usr/share/gnome/help
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-GNUMERIC_${pkgver//./_}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
|
|
|
rm -rf "${pkgdir}"/etc/gconf
|
|
|
|
}
|
|
|
|
|
2023-04-30 04:16:33 +02:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-03-20 13:34:07 +01:00
|
|
|
|
|
|
|
license=('GPL')
|
|
|
|
|
2023-02-05 22:28:38 +01:00
|
|
|
sha256sums=(553fca5e3c2048a9e283cd56e6e2df651b26be3ae305d87cc7ba0873b1c54f78 # gnumeric-GNUMERIC_1_12_55.tar.bz2
|
2022-03-20 13:34:07 +01:00
|
|
|
bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53) # revert-warnings.patch
|
2022-05-31 21:23:35 +02:00
|
|
|
|
2023-04-30 04:16:33 +02:00
|
|
|
## b63da5d4f523f855bbd68e46f02c861328779bb3602f87bae74e214e16abe13e gnumeric-1.12.55-02-x86_64.pkg.tar.lz
|
|
|
|
|