aboutsummaryrefslogtreecommitdiffstats
path: root/community/gexiv2/APKBUILD
blob: 4e8d74bf29b9ff1310e3c04e690aaea6ef5cdc34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gexiv2
pkgver=0.10.7
pkgrel=0
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=
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 \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-introspection \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="1586f2086c23b84f11279bb67bb8c41d5bf2334a106937e700c3e89cdf751e78dc4d748103ac382ff1994f53eea1aab397fa9ded578c77fe3d25ebe719bac8c5  gexiv2-0.10.7.tar.xz"