aboutsummaryrefslogtreecommitdiffstats
path: root/main/gexiv2/APKBUILD
blob: 7b9209790785e7e8e3ccec54d03ee1c97592c320 (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
39
40
41
42
43
44
45
46
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gexiv2
pkgver=0.10.3
pkgrel=0
pkgdesc="a GObject-based wrapper around the  Exiv2 library"
url="http://trac.yorba.org/wiki/gexiv://wiki.gnome.org/gexiv2"
arch="all"
license="GPL"
depends=
depends_dev="glib-dev exiv2-dev"
makedepends="exiv2-dev glib-dev libtool m4 sed gobject-introspection-dev"
install=
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/gnome/sources/gexiv2/${pkgver%.*}/gexiv2-$pkgver.tar.xz"
replaces="libgexiv2"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-introspection \
		|| return 1
	make || return 1
}

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

md5sums="f255100a009027d4eaa0f075bb79c655  gexiv2-0.10.3.tar.xz"
sha256sums="390cfb966197fa9f3f32200bc578d7c7f3560358c235e6419657206a362d3988  gexiv2-0.10.3.tar.xz"
sha512sums="a258a95e3e9dddc6636430d8a2bc222b6605e5d0d122ea1b951f97568cecd04b2d3cbc522625918faf3b5a3e670b01db81a45c2c5c5d65e6eb4b4f4a2ac69e8f  gexiv2-0.10.3.tar.xz"