desktop/vidcutter/PKGBUILD
2017-12-09 09:29:26 +00:00

27 lines
733 B
Bash

pkgname=vidcutter
pkgver=5.0.5
pkgrel=1
pkgdesc="FFmpeg based video cutter & joiner with a modern PyQt5 GUI"
arch=('x86_64')
license=('GPL3')
url="http://vidcutter.ozmartians.com"
depends=('python3-pyqt5' 'python3-sip' 'ffmpeg' 'mpv' 'mediainfo')
makedepends=('git' 'python3-setuptools')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/ozmartian/${pkgname}/archive/${pkgver}.tar.gz)
sha256sums=('7abba5bcf7c07a5554a47d87e3db168138136f9b2acd8896cbf85e794aac270f')
prepare() {
cd $pkgname-$pkgver
sed -i "s/pypi/arch/" "vidcutter/__init__.py"
}
build() {
cd $pkgname-$pkgver
python3 setup.py build
}
package() {
cd $pkgname-$pkgver
python3 setup.py install --root=$pkgdir --optimize=1 --skip-build
}