summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD34
-rw-r--r--clipgrab-qt5.desktop13
-rw-r--r--clipgrab.install7
4 files changed, 17 insertions, 50 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f2641865a5c0..e69fc3b000d1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,12 @@
pkgbase = clipgrab-qt5
- pkgdesc = A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, ... (Qt5)
+ pkgdesc = A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, etc.
pkgver = 3.7.2
- pkgrel = 3
+ pkgrel = 4
url = http://clipgrab.org
+ install = clipgrab.install
arch = i686
arch = x86_64
license = GPL3
- depends = qt5-webkit
- optdepends = ffmpeg: for the conversion functionality
- source = https://download.clipgrab.org/clipgrab-3.7.2.tar.gz
- source = clipgrab-qt5.desktop
- source = https://gitlab.com/kikadf/clipgrab-qt5/raw/master/clipgrab-3.7.2-allinone.patch
- md5sums = 703862f5c80838308a0778922114aa6c
- md5sums = 86ec4e7907a20dcae2c0cf6ad2438632
- md5sums = fbda038fa191acd6c430771f815fd1e7
pkgname = clipgrab-qt5
diff --git a/PKGBUILD b/PKGBUILD
index 3e42e122d362..e16bb07a8faf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,17 @@
-# Maintainer: kikadf <kikadf.01@gmail.com>
+# Maintainer: Alois Nespor <alium@centrum.cz>
+# Contributor: kikadf <kikadf.01@gmail.com>
pkgname=clipgrab-qt5
pkgver=3.7.2
-_qt5patch=3.7.1
-pkgrel=3
-pkgdesc='A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, ... (Qt5)'
+pkgrel=4
+pkgdesc='A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, etc.'
arch=('i686' 'x86_64')
url='http://clipgrab.org'
license=(GPL3)
-depends=('qt5-webkit')
-optdepends=('ffmpeg: for the conversion functionality')
-source=(https://download.clipgrab.org/clipgrab-$pkgver.tar.gz
- $pkgname.desktop
- https://gitlab.com/kikadf/clipgrab-qt5/raw/master/clipgrab-3.7.2-allinone.patch)
-md5sums=('703862f5c80838308a0778922114aa6c'
- '86ec4e7907a20dcae2c0cf6ad2438632'
- 'fbda038fa191acd6c430771f815fd1e7')
+source=()
-prepare() {
- cd clipgrab-$pkgver
- patch -p1 -i ../clipgrab-$pkgver-allinone.patch
-
-}
-
-build() {
- cd clipgrab-$pkgver
- qmake clipgrab.pro
- make
-}
+install=clipgrab.install
package() {
- cd clipgrab-$pkgver
- install -Dm755 clipgrab "$pkgdir/usr/bin/$pkgname"
- install -Dm644 icon.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
- install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+echo "nothing to do"
}
diff --git a/clipgrab-qt5.desktop b/clipgrab-qt5.desktop
deleted file mode 100644
index bd881dab931c..000000000000
--- a/clipgrab-qt5.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Type=Application
-Encoding=UTF-8
-Name=ClipGrab
-GenericName=Video Downloader
-GenericName[de]=Video-Downloader
-Comment=Download videos and convert it
-Comment[de]=Videos herunterladen und konvertieren
-Icon=/usr/share/pixmaps/clipgrab-qt5.png
-Exec=clipgrab-qt5
-TryExec=clipgrab-qt5
-Terminal=false
-Categories=Qt;AudioVideo;Audio;Video;
diff --git a/clipgrab.install b/clipgrab.install
new file mode 100644
index 000000000000..55a0fab3e47f
--- /dev/null
+++ b/clipgrab.install
@@ -0,0 +1,7 @@
+post_install() {
+ echo "New version 3.8.0 of Clipgrab is finally Qt5 version, please use package 'clipgrab' instead."
+}
+
+post_upgrade() {
+ echo "New version 3.8.0 of Clipgrab is finally Qt5 version, please use package 'clipgrab' instead."
+}