yochananmarqos

Untitled

Aug 2nd, 2020
161
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=python-exiv2
  2. _name=py3exiv2
  3. pkgver=0.7.2
  4. pkgrel=1
  5. pkgdesc="A Python 3 binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image metadata."
  6. url="https://launchpad.net/py3exiv2"
  7. arch=('x86_64')
  8. depends=('python' 'boost-libs' 'exiv2')
  9. makedepends=('boost')
  10. license=('GPL3')
  11. source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz"{,.asc})
  12. sha256sums=('16330fe5eff100a67a4a14f4b71a1f0a4b2d29ee565b83b7c0f1c9cb8c3566f6'
  13.             'SKIP')
  14. validpgpkeys=('857162EA24FA8D09C363DD3C068346EEA7A91F52') # Vincent Vande Vyvre (iturikey) <vincent.vandevyvre@oqapy.eu>
  15.  
  16. build() {
  17.     cd "$_name-$pkgver"
  18.     python setup.py build
  19. }
  20.  
  21. package() {
  22.     cd "$_name-$pkgver"
  23.     python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  24. }
RAW Paste Data