# Maintainer: Natanael Copa setvar pkgname = 'goffice' setvar pkgver = '0.10.35' setvar pkgrel = '0' setvar _maj = ${pkgver%%.*} setvar _min = ${pkgver#${_maj}.} setvar _min = ${_min%%.*} setvar pkgdesc = ""A library of document-centric objects and utilities built on top of GLib and Gtk+"" setvar url = ""http://www.gnome.org"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends_dev = ""glib-dev libgsf-dev cairo-dev libxml2-dev gtk+3.0-dev librsvg-dev"" setvar makedepends = ""$depends_dev intltool gtk+-dev autoconf automake libtool gtk-doc libxslt-dev"" setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang"" setvar source = ""http://ftp.gnome.org/pub/gnome/sources/$pkgname/$_maj.$_min/$pkgname-$pkgver.tar.xz"" proc prepare { default_prepare libtoolize --force && aclocal && autoconf \ && automake --add-missing --gnu } proc build { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static make } proc package { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install } setvar sha512sums = ""68a274e73b8c237966ff300f129362d5a7a861e0281ca0dca9a0850f0ea30644f16de0eb5480ac8a399e7ff40699af5ddfcd79593c42f06d296ab3e778c368d2 goffice-0.10.35.tar.xz""