summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65dab13a08afec4e90a4d49669d070d46dee96d7 (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
# Maintainer: Ilias Stamatis <stamatis.iliass at gmail dot com>
# Contributor: Panagiotis Mavrogiorgos (pmav99) <> (gmail)

pkgname=ffmulticonverter-mod
pkgver=1.7.1.r20.gbe36278
pkgrel=1
pkgdesc="Convert audio, video, image and document files between all popular formats. My mod"
arch=(any)
url="https://sites.google.com/site/ffmulticonverter/"
license=('GPL3')
depends=('python-pyqt4')
optdepends=('ffmpeg: for video conversions'
            'imagemagick: for image conversions'
            'unoconv: for document conversions'
            'calligra-extras: alternative method for document conversions')
makedepends=('git')
conflicts=('ffmulticonverter')
source=("${pkgname}::git+https://github.com/maz-1/FF-Multi-Converter.git#branch=merge")
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/locale/"
  lrelease-qt4 ffmulticonverter.pro
  cd ..
  pyrcc4 -py3 -o ./ffmulticonverter/qrc_resources.py resources.qrc
  python setup.py install --root="${pkgdir}/" --optimize=1
}