summaryrefslogtreecommitdiff
path: root/community/python2-exiv2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-exiv2/PKGBUILD')
-rw-r--r--community/python2-exiv2/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/python2-exiv2/PKGBUILD b/community/python2-exiv2/PKGBUILD
new file mode 100644
index 000000000..77e5caeb2
--- /dev/null
+++ b/community/python2-exiv2/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 104803 2014-01-26 12:17:41Z andyrtr $
+# Maintainer : Martin Wimpress <code@flexion.org>
+# Contributor: Archie <xMickael@ifrance.com>
+# Contributor: Byron Clark <byron@theclarkfamily.name>
+
+_pkgname=pyexiv2
+pkgname=python2-exiv2
+pkgver=0.3.2
+pkgrel=3
+pkgdesc="pyexiv2 is a Python binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image metadata."
+url="http://tilloy.net/dev/pyexiv2"
+arch=('i686' 'x86_64')
+depends=('python2' 'boost-libs' 'exiv2')
+makedepends=('scons' 'boost')
+replaces=('pyexiv2')
+conflicts=('pyexiv2')
+provides=('pyexiv2')
+license=('GPL')
+source=("http://launchpad.net/${_pkgname}/0.3.x/${pkgver}/+download/${_pkgname}-${pkgver}.tar.bz2")
+md5sums=('9c0377ca4cf7d5ceeee994af0b5536ae')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ scons
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ scons DESTDIR="${pkgdir}" install
+}