54 lines
1.6 KiB
Bash
54 lines
1.6 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=gnumeric
|
|
pkgver=1.12.52
|
|
pkgrel=02
|
|
pkgdesc="A GNOME-less spreadsheet program"
|
|
arch=('x86_64')
|
|
url="http://www.gnumeric.org/"
|
|
depends=('goffice')
|
|
makedepends=('intltool' 'itstool' 'yelp-tools')
|
|
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)
|
|
|
|
prepare() {
|
|
cd ${pkgname}-GNUMERIC_${pkgver//./_}
|
|
# cd $pkgname
|
|
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
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL')
|
|
|
|
sha256sums=(5b2743c3a440a3a062e19cf41590951b2b86ae7f7a987f0955eeea0a1002f5f2 # gnumeric-GNUMERIC_1_12_52.tar.bz2
|
|
bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53) # revert-warnings.patch
|
|
|