mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 20:07:16 +08:00
27 lines
782 B
Bash
27 lines
782 B
Bash
pkgname=vidcutter
|
|
pkgver=3.2.0
|
|
pkgrel=1
|
|
pkgdesc="FFmpeg based video cutter & joiner with a modern PyQt5 GUI"
|
|
arch=('any')
|
|
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=('2f74f40c274b91600f241825872b8f50453000f2d60cb4b3194f521146c29642')
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
sed -i "s/pypi/arch/" "vidcutter/__init__.py"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
|
}
|