2015-03-15 21:42:21 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/clipgrab
|
2014-12-22 21:30:40 +08:00
|
|
|
|
|
|
|
pkgname=clipgrab
|
2015-08-02 14:36:48 +08:00
|
|
|
pkgver=3.5.1
|
2015-05-11 07:32:02 +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')
|
|
|
|
url='http://clipgrab.de/en'
|
|
|
|
screenshot='http://download.clipgrab.de/img/screenshot_videosearch_x11.png'
|
|
|
|
license=('GPL3')
|
|
|
|
depends=('qtwebkit')
|
2015-08-02 14:36:48 +08:00
|
|
|
optdepends=('ffmpeg: for the conversion functionality')
|
|
|
|
source=("http://download.clipgrab.de/${pkgname}-${pkgver}.tar.gz"
|
2014-12-22 21:30:40 +08:00
|
|
|
"${pkgname}.desktop")
|
2015-08-02 14:36:48 +08:00
|
|
|
sha256sums=('e911afb98b30f3ac2a9c354ccd22345302df99148660d4da3bb2430ff63f159a'
|
2014-12-22 21:30:40 +08:00
|
|
|
'a12c0501d2f46b4a2a7103a0cce8a35d9b44245dee6cc12eb7d3e5c083cc5809')
|
|
|
|
|
|
|
|
build() {
|
2015-01-28 21:47:32 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
2014-12-22 21:30:40 +08:00
|
|
|
qmake clipgrab.pro
|
|
|
|
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"
|
|
|
|
}
|