mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 15:27:14 +08:00
27 lines
750 B
Bash
27 lines
750 B
Bash
pkgname=vidcutter
|
|
pkgver=6.0.0
|
|
pkgrel=2
|
|
pkgdesc="FFmpeg based video cutter & joiner with a modern PyQt5 GUI"
|
|
arch=('x86_64')
|
|
license=('GPL3')
|
|
url="http://vidcutter.ozmartians.com"
|
|
depends=('python3-opengl' '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=('c09be7eceaf42ff7211fe3b8125279c4fec7f7d251d272b61d579e426bd4e2c2')
|
|
|
|
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
|
|
}
|