mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
27 lines
912 B
Bash
27 lines
912 B
Bash
pkgname=clipgrab
|
|
pkgver=3.6.5
|
|
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=('qtwebkit' 'ffmpeg' 'libxslt')
|
|
source=("https://download.clipgrab.org/${pkgname}-${pkgver}.tar.gz"
|
|
"${pkgname}.desktop")
|
|
sha256sums=('cc13512f2ca731b27d177d8f31780147d912ac8fc68a341748d53182811daade'
|
|
'a12c0501d2f46b4a2a7103a0cce8a35d9b44245dee6cc12eb7d3e5c083cc5809')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
qmake 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"
|
|
}
|