updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / youtubedownload / PKGBUILD
blob5dead1873f7348c9c9cf1730b0110ebe5526bf12
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=youtubedownload
4 pkgver=0.3
5 pkgrel=1
6 pkgdesc="A Konqueror extension for downloading youtube videos right from YouTube video page"
7 arch=('i686' 'x86_64')
8 url="http://www.kde-apps.org/content/show.php?content=121350"
9 license=('GPL')
10 depends=('kdebase-konqueror')
11 source=("http://www.kde-apps.org/CONTENT/content-files/121350-konqueror-plugin-${pkgname}.tar.gz")
12 md5sums=('8a8d5131fcc60b0c3fdb21ed75ee55e6')
14 build() {
15   cd ${srcdir}
16   mkdir build
17   cd build
18   cmake ../konqueror-plugin-${pkgname} \
19     -DCMAKE_INSTALL_PREFIX=/usr \
20     -DCMAKE_BUILD_TYPE=Release
21   make || return 1
24 package() {
25   cd ${srcdir}/build
26   make DESTDIR=${pkgdir} install || return 1