mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
pkgname=clipgrab
|
|
pkgver=3.6.8
|
|
pkgrel=1
|
|
pkgdesc='A video downloader and converter for YouTube, Vimeo, DailyMotion, MyVideo and many other'
|
|
arch=('x86_64')
|
|
url='https://clipgrab.org/'
|
|
screenshot='http://download.clipgrab.de/img/screenshot_videosearch_x11.png'
|
|
license=('GPL3')
|
|
depends=('qt5-webkit')
|
|
makedepends=('ffmpeg')
|
|
optdepends=('ffmpeg: for the conversion functionality')
|
|
source=("https://download.clipgrab.org/${pkgname}-${pkgver}.tar.gz"
|
|
"${pkgname}.desktop"
|
|
https://gitlab.com/kikadf/clipgrab-qt5/raw/patch/patch/clipgrab-qt5-${pkgver}.patch)
|
|
sha256sums=('1704386b88d2d17ed7d56dc62e5285a04fc27bcb6576f11d6798d674de49f729'
|
|
'a12c0501d2f46b4a2a7103a0cce8a35d9b44245dee6cc12eb7d3e5c083cc5809'
|
|
'3f9edd160e451c3e648d36d953fe2d2ba939152677609382f85e3b19ac8db42a')
|
|
|
|
prepare() {
|
|
cd clipgrab-$pkgver
|
|
patch -p1 -i ../clipgrab-qt5-${pkgver}.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
qmake-qt5 clipgrab.pro
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
install -Dm755 ${pkgname} "${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"
|
|
}
|