blob: ee8a9f8222976682d8ffd4a81fb2be0ba6b62b8d (
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.0
pkgrel=1
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="d5e33e2e6d034df900879a167513325f gexiv2-0.10.0.tar.xz"
sha256sums="9c8c97b36a0d4ca6656488b88908e4c94efb0dfc1b0e3e0850e38b90a9a30031 gexiv2-0.10.0.tar.xz"
sha512sums="f83c86fff761b93cca0e5477dd62f3a64efdd4d38839dfccacb3e422eb59f16b349e443f5bcbea23f9907f7b0adde7b749287d67cf73f67cdafacdf68c91b904 gexiv2-0.10.0.tar.xz"
|