# Maintainer: Ilias Stamatis # Contributor: Panagiotis Mavrogiorgos (pmav99) <> (gmail) pkgname=ffmulticonverter-git pkgver=1.8.0.r2.gc47d47a pkgrel=1 pkgdesc="Convert audio, video, image and document files between all popular formats" arch=(any) url="https://sites.google.com/site/ffmulticonverter/" license=('GPL3') depends=('python-pyqt5') optdepends=('ffmpeg: for video conversions' 'imagemagick: for image conversions' 'unoconv: for document conversions') makedepends=('git') conflicts=('ffmulticonverter') source=("${pkgname}::git+https://github.com/ilstam/FF-Multi-Converter.git") sha256sums=('SKIP') pkgver() { cd "$pkgname" # cutting off 'v' prefix that presents in the git tag git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd "$pkgname" python setup.py install --root="${pkgdir}/" --optimize=1 }