From 8b8cbf8d4de0521aecdfec5f063c5115b110cc26 Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 24 May 2019 23:40:39 -0300 Subject: community/gexiv2: modernize, fix license --- community/gexiv2/APKBUILD | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'community/gexiv2') diff --git a/community/gexiv2/APKBUILD b/community/gexiv2/APKBUILD index 28ff1b4fc8..bf09449f22 100644 --- a/community/gexiv2/APKBUILD +++ b/community/gexiv2/APKBUILD @@ -2,22 +2,17 @@ # Maintainer: Natanael Copa pkgname=gexiv2 pkgver=0.10.8 -pkgrel=0 -pkgdesc="a GObject-based wrapper around the Exiv2 library" +pkgrel=1 +pkgdesc="a GObject-based wrapper around the Exiv2 library" url="https://wiki.gnome.org/Projects/gexiv2" arch="all" -license="GPL" -depends= -makedepends="exiv2-dev glib-dev libtool m4 sed glib-dev exiv2-dev" -install= +license="GPL-2.0-or-later" +makedepends="exiv2-dev glib-dev libtool m4 sed" subpackages="$pkgname-dev" source="https://download.gnome.org/sources/gexiv2/${pkgver%.*}/gexiv2-$pkgver.tar.xz" replaces="libgexiv2" -builddir="$srcdir"/$pkgname-$pkgver - build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -25,14 +20,12 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-introspection \ - || return 1 - make || return 1 + --disable-introspection + make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="4c25cf6884495151947a70e62a096f3279223673bece4d4ff02720b2820aaad9e80c8715e02bf46c3f5598f582fdf07b4b3ddabd017d53001245e3381a4cc286 gexiv2-0.10.8.tar.xz" -- cgit v1.2.3