desktop/clipgrab/PKGBUILD

36 lines
1.2 KiB
Bash
Raw Normal View History

2014-12-22 21:30:40 +08:00
pkgname=clipgrab
2018-11-08 16:17:31 +08:00
pkgver=3.7.1
2018-06-25 04:55:18 +08:00
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"
2018-11-08 16:17:31 +08:00
https://gitlab.com/kikadf/clipgrab-qt5/raw/patches/patches/clipgrab-qt5-${pkgver}.patch)
sha256sums=('addf58c027f8f0e01acb0d1d6cdb9fd17c356d4fe5e2d768b94e531b599d1f2e'
2018-06-25 04:55:18 +08:00
'a12c0501d2f46b4a2a7103a0cce8a35d9b44245dee6cc12eb7d3e5c083cc5809'
2018-11-08 16:17:31 +08:00
'2efa3a821c352f4093315439365d600b9c93cc64562e2d2f8da9f67882b61cde')
2018-06-25 04:55:18 +08:00
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"
}