jobextra/goffice/PKGBUILD-arch

29 lines
859 B
Plaintext
Raw Normal View History

2022-03-20 13:34:07 +01:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=goffice
pkgver=0.10.57
2022-03-20 13:34:07 +01:00
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)
2023-11-04 02:20:12 +01:00
makedepends=(intltool gtk-doc gobject-introspection)
source=(https://download.gnome.org/sources/goffice/0.10/goffice-$pkgver.tar.xz)
sha256sums=('66bfd7e31d2f6756d5a62c3670383cbba02b3cb4c1042950192a801b72a3c9ab')
2022-03-20 13:34:07 +01:00
build() {
2023-11-04 02:20:12 +01:00
cd $pkgname-$pkgver
2022-03-20 13:34:07 +01:00
./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() {
2023-11-04 02:20:12 +01:00
cd $pkgname-$pkgver
2022-03-20 13:34:07 +01:00
make DESTDIR="${pkgdir}" install
}