39 lines
993 B
Text
39 lines
993 B
Text
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
|
|
|
pkgname=goffice
|
|
pkgver=0.10.52
|
|
pkgrel=1
|
|
pkgdesc="A GLib/GTK+ set of document-centric objects and charting library"
|
|
url="https://git.gnome.org/browse/goffice"
|
|
arch=(x86_64)
|
|
license=(GPL)
|
|
depends=(librsvg gtk3 libgsf libspectre libxslt lasem)
|
|
makedepends=(intltool gtk-doc gobject-introspection autoconf-archive git)
|
|
_commit=ea3daf5637c054f58ac8174de65d0d06217c6b33
|
|
source=("git+https://gitlab.gnome.org/GNOME/goffice.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
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
|
|
}
|