summaryrefslogtreecommitdiff
path: root/community/libgexiv2/PKGBUILD
blob: 9adbc5efb7a339fcfc065bbd30c30d35258f4def (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
# $Id: PKGBUILD 100330 2013-11-02 11:06:06Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=libgexiv2
pkgver=0.7.0
pkgrel=1
pkgdesc='GObject-based wrapper around the Exiv2 library'
arch=('x86_64' 'i686' 'mips64el')
# http://yorba.org/download/gexiv2/
url='http://redmine.yorba.org/projects/gexiv2/roadmap'
license=('GPL2')
depends=('exiv2' 'glib2')
makedepends=('python-gobject' 'python2-gobject')
source=("http://yorba.org/download/gexiv2/${pkgver%.0}/$pkgname-$pkgver.tar.xz")
sha256sums=('44ae5e74ec82a6b19e366cf6877ce34693ace85c5cb519a7158bdcfcb7e28e64')

build() {
  cd "$pkgname-$pkgver"

  # In order for the build process to include any python-related files,
  # 'import gi; print(gi._overridesdir)' must work with either python or
  # python2. The gi module is provided by python-gobject and python2-gobject.
  ./configure --prefix=/usr --enable-introspection
  make
}

package() {
  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: