summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkanehekili2021-06-11 22:43:27 +0200
committerkanehekili2021-06-11 22:43:27 +0200
commit1b39e6753054f07f34bd43749646f29039a5b4db (patch)
treeb074c7e909c5949f4c2a187854c7df995b01e747
parent8d6b8f9ff07626c95a0c526635069a8244d703c9 (diff)
downloadaur-1b39e6753054f07f34bd43749646f29039a5b4db.tar.gz
Update to 1.3.2.2
-rwxr-xr-x[-rw-r--r--].SRCINFO9
-rw-r--r--PKGBUILD20
-rw-r--r--vc.install7
3 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c49cf51827..7b0662d99b7 100644..100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
pkgbase = videocut
pkgdesc = Fast mp4/matroska/Av1/webm/mp2/mpts lossless Video cutter
pkgver = 1.3.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kanehekili/VideoCut
- install = vc.install
arch = x86_64
- license = GPL 2
+ license = GPL2
depends = python-pyqt5
depends = python-numpy
depends = hdf5
depends = ffmpeg
depends = python-opencv
- source = https://raw.githubusercontent.com/kanehekili/VideoCut/master/build/videocut1.3.2.tar
- md5sums = 2be003a951cc812067221f7a3b0bef8d
+ source = https://github.com/kanehekili/VideoCut/releases/download/1.3.2.1/videocut1.3.2.tar
+ md5sums = 003987f4c188dd606b28dd09c798a200
pkgname = videocut
diff --git a/PKGBUILD b/PKGBUILD
index 2e73c7e48fc..054a22e711b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,31 @@
# Maintainer: Kanehekili (mat dot wegmann at gmail dot com)
pkgname=videocut
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Fast mp4/matroska/Av1/webm/mp2/mpts lossless Video cutter"
url="https://github.com/kanehekili/VideoCut"
-license=('GPL 2')
+license=('GPL2')
depends=('python-pyqt5' 'python-numpy' 'hdf5' 'ffmpeg' 'python-opencv')
-install='vc.install'
arch=('x86_64')
-source=(https://raw.githubusercontent.com/kanehekili/VideoCut/master/build/videocut1.3.2.tar)
-md5sums=(2be003a951cc812067221f7a3b0bef8d)
+source=(https://github.com/kanehekili/VideoCut/releases/download/1.3.2.1/videocut1.3.2.tar)
+md5sums=(003987f4c188dd606b28dd09c798a200)
+
+build() {
+make -C ${pkgname}/ffmpeg/src/
+make -C ${pkgname}/ffmpeg/src/ clean
+}
+
package(){
cd ${srcdir}
mkdir -p "${pkgdir}/opt/${pkgname}"
mkdir -p "${pkgdir}/usr/share/applications"
+ mkdir -p "${pkgdir}/usr/bin"
rm $srcdir/$pkgname/install.sh
rm $srcdir/$pkgname/uninstall.sh
+ rm -rf $srcdir/$pkgname/ffmpeg/bin/V3/
cp $srcdir/$pkgname/VideoCut.desktop "${pkgdir}/usr/share/applications"
- cp -r $srcdir/$pkgname/* "${pkgdir}/opt/${pkgname}" || return 1
+ cp -r $srcdir/$pkgname/* "${pkgdir}/opt/${pkgname}"
+ ln -s ${pkgdir}/opt/videocut/VideoCut.py ${pkgdir}//usr/bin/VideoCut
}
diff --git a/vc.install b/vc.install
deleted file mode 100644
index 78cba5a479f..00000000000
--- a/vc.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- ln -s /opt/videocut/VideoCut.py /usr/bin/VideoCut
-}
-
-pre_remove() {
- rm /usr/bin/VideoCut
-}