desktop/clipgrab/PKGBUILD

36 lines
1.2 KiB
Bash
Raw Normal View History

2014-12-22 21:30:40 +08:00
pkgname=clipgrab
2018-06-25 04:55:18 +08:00
pkgver=3.6.8
pkgrel=1
2014-12-22 21:30:40 +08:00
pkgdesc='A video downloader and converter for YouTube, Vimeo, DailyMotion, MyVideo and many other'
arch=('x86_64')
2016-06-23 16:20:31 +08:00
url='https://clipgrab.org/'
2014-12-22 21:30:40 +08:00
screenshot='http://download.clipgrab.de/img/screenshot_videosearch_x11.png'
license=('GPL3')
2018-06-25 04:55:18 +08:00
depends=('qt5-webkit')
makedepends=('ffmpeg')
optdepends=('ffmpeg: for the conversion functionality')
2016-06-28 13:50:37 +08:00
source=("https://download.clipgrab.org/${pkgname}-${pkgver}.tar.gz"
2018-06-25 04:55:18 +08:00
"${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
}
2014-12-22 21:30:40 +08:00
build() {
2015-01-28 21:47:32 +08:00
cd ${pkgname}-${pkgver}
2018-06-25 04:55:18 +08:00
qmake-qt5 clipgrab.pro
2014-12-22 21:30:40 +08:00
make
}
package() {
2015-01-28 21:47:32 +08:00
cd ${pkgname}-${pkgver}
2014-12-22 21:30:40 +08:00
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"
}