jobextra/goffice/PKGBUILD-arch

29 lines
859 B
Plaintext

# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=goffice
pkgver=0.10.57
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)
source=(https://download.gnome.org/sources/goffice/0.10/goffice-$pkgver.tar.xz)
sha256sums=('66bfd7e31d2f6756d5a62c3670383cbba02b3cb4c1042950192a801b72a3c9ab')
build() {
cd $pkgname-$pkgver
./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-$pkgver
make DESTDIR="${pkgdir}" install
}