blob: 7bc0588adb2f51aa16040aceb87a4e0fe3aaa7ee (
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
34
35
|
# Maintainer: Pete Alexandrou <pete@ozmartians.com>
pkgname=vidcutter-git
pkgver=3.0.0.r38.gdebe0ed
pkgrel=1
pkgdesc="the simple & fast video cutter & joiner with the help of mpv + FFmpeg"
arch=('any')
license=('GPL3')
url="http://vidcutter.ozmartians.com"
source=('vidcutter-git::git+https://github.com/ozmartian/vidcutter.git')
depends=('python-pyqt5' 'mpv' 'ffmpeg' 'mediainfo')
makedepends=('python-setuptools')
install=${pkgname}.install
provides=('vidcutter-git')
conflicts=('vidcutter')
md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/${pkgname}"
sed -i "s/pypi/arch/" vidcutter/__init__.py
}
build() {
cd "${srcdir}/${pkgname}"
python3 setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|