desktop/clipgrab/PKGBUILD

30 lines
1.0 KiB
Bash
Raw Normal View History

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-05-11 07:32:02 +08:00
pkgver=3.4.11
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')
optdepends=('ffmpeg: for some encodings')
source=("http://download.clipgrab.de/${pkgname}-${pkgver}.tar.bz2"
"${pkgname}.desktop")
2015-05-11 07:32:02 +08:00
sha256sums=('48f7cbd9a503b19246ae2d31af8d2bba7c57945f5ba8ca4fcf7bf6b3a265bd83'
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"
}