# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-exiv2 _pkgname=py3exiv2 pkgver=0.12.0 pkgrel=3 pkgdesc='A Python3 binding to the library exiv2.' url='https://pypi.org/project/py3exiv2/#files' arch=('x86_64' 'aarch64') license=('GPL3') depends=('python' 'boost-libs' 'exiv2') makedepends=('boost' 'python-setuptools') source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('52fe09bebdef065e0b65dba635a1ab1e2c55e49ef7e9277d15f58cd2d8598a755d241a7f3732d53680382127ce3c694f9c519a5e03548b81d43678c705b973ce') build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }