blob: f44ee309adb4dc57127cbf45fcd51ae50a4fd6cd (
plain) (
tree)
|
|
# Maintainer:
pkgname=libgsf
pkgver=1.14.53
pkgrel=0
pkgdesc="Library for manipulating structured files"
url="https://www.gnome.org/"
arch="all"
license="LGPL-2.1-only"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=""
depends_dev="bzip2-dev"
makedepends="libxml2-dev glib-dev bzip2-dev intltool python3 zlib-dev
gobject-introspection-dev"
source="https://download.gnome.org/sources/$pkgname/1.14/$pkgname-$pkgver.tar.xz"
# secfixes:
# 1.14.41-r0:
# - CVE-2016-9888
build() {
sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.*
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--disable-static \
--without-gnome-vfs \
--without-bonobo \
--enable-introspection
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/share/man/man1/gsf-office-thumbnailer.1
}
sha512sums="f2f8fa0806bf2edae271b3503cc311bd7ba32c145530afce382305cacfaae624edbc8298bd8766364e94804e71b1b8d0aac8383ae514aad646f2a926727cf727 libgsf-1.14.53.tar.xz"
|