aboutsummaryrefslogtreecommitdiffstats
path: root/community/gexiv2
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-24 23:40:39 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 15:15:46 +0000
commit8b8cbf8d4de0521aecdfec5f063c5115b110cc26 (patch)
tree1d42a14130c14fe13bc6a1dbc0f4ac50249e388b /community/gexiv2
parentba4c86a6d52ce9b4c7d4a01bb4ebdaa3b17cbb53 (diff)
community/gexiv2: modernize, fix license
Diffstat (limited to 'community/gexiv2')
-rw-r--r--community/gexiv2/APKBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/community/gexiv2/APKBUILD b/community/gexiv2/APKBUILD
index 28ff1b4fc8f..bf09449f225 100644
--- a/community/gexiv2/APKBUILD
+++ b/community/gexiv2/APKBUILD
@@ -2,22 +2,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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"