blob: 45f3f297a4d0ae92b7e228554149675772bc9bc0 (
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
|
# Maintainer: Pete Alexandrou <pete@ozmartians.com>
pkgname=vidcutter-git
pkgver=6.0.5.3
pkgrel=2
pkgdesc='A modern and fast media cutter and joiner'
arch=('x86_64')
license=('GPL3')
url="https://vidcutter.ozmartians.com"
# source=(https://github.com/ozmartian/${pkgname%-git}/archive/${pkgver}.tar.gz)
source=(git+https://github.com/ozmartian/vidcutter.git)
depends=('ffmpeg' 'mediainfo' 'mpv' 'python-opengl' 'python-pyqt5' 'python-setuptools' 'python-simplejson')
makedepends=('git' 'python-setuptools' 'cython')
install=${pkgname}.install
provides=('vidcutter')
conflicts=('vidcutter')
sha256sums=('SKIP')
# pkgver() {
# cd "${pkgname%-git}-${pkgver}"
# git describe --long --all | sed 's/\([^-]*-g\)/r\1/g;s/-/./g;s/heads\///g'
# }
build() {
cd "${srcdir}/${pkgname%-git}"
python3 setup.py build
}
package() {
cd "${srcdir}/${pkgname%-git}"
python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|