diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-02 00:19:09 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-02 00:19:09 -0600 |
commit | 0ffbf976bb9d0b5d59cc061eb751ae4528b0345d (patch) | |
tree | 1028327fcde7fd0240b1a284a5e81ccc09e71713 /community/goffice | |
parent | 310cf7494aa5e7d20c5944c9d0ee02c1081c7de1 (diff) | |
download | aports-0ffbf976bb9d0b5d59cc061eb751ae4528b0345d.tar.bz2 aports-0ffbf976bb9d0b5d59cc061eb751ae4528b0345d.tar.xz |
community/goffice: modernise, fix license, add check
Diffstat (limited to 'community/goffice')
-rw-r--r-- | community/goffice/APKBUILD | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/community/goffice/APKBUILD b/community/goffice/APKBUILD index 6c5838e033..8e2cbf44df 100644 --- a/community/goffice/APKBUILD +++ b/community/goffice/APKBUILD @@ -1,17 +1,17 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=goffice pkgver=0.10.37 -pkgrel=0 +pkgrel=1 _maj=${pkgver%%.*} _min=${pkgver#${_maj}.} _min=${_min%%.*} pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+" url="http://www.gnome.org" arch="all" -license="GPL" -depends_dev="glib-dev libgsf-dev cairo-dev libxml2-dev gtk+3.0-dev librsvg-dev" -makedepends="$depends_dev intltool gtk+-dev autoconf automake libtool gtk-doc - libxslt-dev" +license="GPL-2.0-only OR GPL-3.0-only" +makedepends="librsvg-dev intltool gtk+-dev autoconf automake libtool gtk-doc + libxslt-dev gobject-introspection-dev glib-dev libgsf-dev cairo-dev + libxml2-dev gtk+3.0-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/$pkgname/$_maj.$_min/$pkgname-$pkgver.tar.xz" @@ -22,19 +22,25 @@ prepare() { } build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static + --disable-static \ + --enable-introspection make } +check() { + cd "$builddir" + make check +} + package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" make DESTDIR="$pkgdir" install } |