#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=gnumeric pkgver=1.12.55 pkgrel=02 pkgdesc="A GNOME-less spreadsheet program" url="http://www.gnumeric.org/" depends=('goffice') makedepends=('intltool' 'itstool' 'yelp-tools') #_commit=858ea03fa5efd3beccc82e8dc269f35b76133d94 ## 1.12.53 #_commit=142370a40d490201f6e0eac273d760ad43715ddb ## 1.12.54 #_commit=aea59b387be8bd5dc509ba75820cd9377e1e34a7 ## 1.12.55 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) #source=("git+https://gitlab.gnome.org/GNOME/gnumeric.git#commit=$_commit" # revert-warnings.patch) 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 } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('GPL') sha256sums=(553fca5e3c2048a9e283cd56e6e2df651b26be3ae305d87cc7ba0873b1c54f78 # gnumeric-GNUMERIC_1_12_55.tar.bz2 bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53) # revert-warnings.patch ## b63da5d4f523f855bbd68e46f02c861328779bb3602f87bae74e214e16abe13e gnumeric-1.12.55-02-x86_64.pkg.tar.lz