updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / joschy-git / PKGBUILD
blob4b29ab0dc966f2ee51696ecfd1ebcafcd4f5d047
1 # Contributor: Adria Arrufat <swiftscythe@gmail.com>
2 pkgname=joschy-git
3 pkgver=20100816
4 pkgrel=1
5 pkgdesc="Video upload/search/etc library"
6 arch=('i686' 'x86_64')
7 url="http://kde-apps.org/content/show.php/RecordItNow?content=114610"
8 license=('GPL')
9 depends=('kdebase-runtime')
10 makedepends=('cmake' 'automoc4' 'git')
11 provides=('joschy')
12 source=()
13 md5sums=()
15 _gitroot='git://gitorious.org/joschy/joschy.git'
16 _gitname='joschy'
18 build(){
20   cd $srcdir
22   if [[ -d $_gitname ]]; then
23         (cd $_gitname && git pull origin)
24   else
25         git clone $_gitroot $_gitname
26   fi
28   cd $_gitname
30         rm -rf build
31         mkdir build && cd build
32         cmake -DCMAKE_INSTALL_PREFIX=/usr .. || return 1
33         make || return 1
34         make DESTDIR="$pkgdir/" install || return 1