#!/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.57 pkgrel=01 pkgdesc="A GNOME-less spreadsheet program" url="http://www.gnumeric.org/" depends=('goffice') makedepends=('intltool' 'itstool' 'yelp-tools') #_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 #source=(https://download.gnome.org/sources/gnumeric/1.12/gnumeric-$pkgver.tar.xz 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=(1c8fda4a5b023b81393f32173c4a7b623ec437b4e1ea3e8b9bacef2df8b5e8ac # gnumeric-GNUMERIC_1_12_57.tar.bz2 bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53) # revert-warnings.patch ## 61069b6c355c6b12f52b1c1b5c548582a904f4611520d9e89347d5d49e1cb887 gnumeric-1.12.57-01-x86_64.pkg.tar.lz