1 # Maintainer: Jakob Nixdorf <flocke [swirly thing] shadowice [dot] org>
6 pkgdesc="cgetvid is an easily extensible video downloader"
7 url="https://shadowice.org/?p=cgetvid"
11 makedepends=('cmake' 'git')
16 _gitroot="git://git.shadowice.org/cgetvid.git"
23 msg "Connecting to shadowice.org GIT server...."
25 if [ -d ${srcdir}/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
36 if [ -d ${srcdir}/$_gitname-build ] ; then
37 rm -rf $_gitname-build
40 cp -r $_gitname $_gitname-build
42 cd ${srcdir}/$_gitname-build
43 cmake . -DCMAKE_INSTALL_PREFIX=/usr/ || return 1
45 make DESTDIR=${pkgdir} install || return 1