jobextra/goffice/PKGBUILD
2023-11-04 03:20:12 +02:00

50 lines
1.4 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=goffice
pkgver=0.10.56
pkgrel=01
pkgdesc="A GLib/GTK+ set of document-centric objects and charting library"
url="https://git.gnome.org/browse/goffice"
depends=(librsvg gtk3 libgsf libspectre libxslt lasem)
makedepends=(intltool gtk-doc gobject-introspection autoconf-archive git)
_commit=8b67bd413d7da2fca489ff1cd4be3269559a2b00 # tags/GOFFICE_0_10_56
source=("git+https://gitlab.gnome.org/GNOME/goffice.git#commit=$_commit")
#pkgver() {
# cd $pkgname
# git describe --tags | sed 's/^GOFFICE_//;s/_/./g;s/-/+/g'
#}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static --enable-introspection --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(GPL)
sha256sums=('SKIP')
## d81314da3d699edd981fd0430f72ef99e9b19c65fb897a9be166b72a6e7cab0c goffice-0.10.56-01-x86_64.pkg.tar.lz