aboutsummaryrefslogtreecommitdiffstats
path: root/main/gexiv2/APKBUILD
blob: c696b9ca28bb79930e646e1ff3b88b0a3ace5107 (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
47
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gexiv2
pkgver=0.7.0
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 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
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="de3619e5d2b621c19fdcf77b17d25d25  gexiv2-0.7.0.tar.xz"
sha256sums="b631fe02402014cb52f22647b384972776ada31cbd3c3f187014b6535461ee8a  gexiv2-0.7.0.tar.xz"
sha512sums="7ce5a90494b421e18ea75e4be8c8f4ddaad053acb8a29ed8a04a0c15b77170d0c4807f9d49b1f80b40f5a25f54221cf785fe907a8a12bf9495e5ab4a00db804e  gexiv2-0.7.0.tar.xz"