blob: 9075dbb6b2a8542c9a3aa33869526a98d2fba6c9 (
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
|
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py-exifread
_pkgname=ExifRead
pkgver=2.1.2
pkgrel=0
pkgdesc="Read Exif metadata from tiff and jpeg files"
url="https://pypi.python.org/pypi/ExifRead"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="8f5099e11e2137e0ce5acbec91c219be ExifRead-2.1.2.tar.gz"
sha256sums="79e244f2eb466709029e8806fe5e2cdd557870c3db5f68954db0ef548d9320ad ExifRead-2.1.2.tar.gz"
sha512sums="6357a96e6d5aeabe6b8eec519934e5754e09a53e5a3871254ee84f746ff8c2115dd175f1358a9d372ce2e3a062bf6f7be9d297661f5a4cf40b9c117d3f4e69d2 ExifRead-2.1.2.tar.gz"
|