updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / typhon-svn / PKGBUILD
blob26a177b52121342cb2edd1a9a8252830b6bd5b19
1 # Maintainer: Alessandro Pazzaglia <jackdroido at gmail dot com>
3 pkgname=typhon-svn
4 pkgver=178
5 pkgrel=1
6 pkgdesc="A slim and themeable OpenGL-based dashboard and emulator launcher"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/typhon-launcher/"
9 license=('GPL3')
10 depends=('sfml' 'opencv')
11 makedepends=('subversion' 'cmake')
13 _svntrunk="http://typhon-launcher.googlecode.com/svn/trunk/"
14 _svnmod="typhon-svn"
16 build() {
17     cd "$srcdir"
19     msg "Starting SVN checkout ..."
21     if [ -d $_svnmod/.svn ]
22     then
23         cd $_svnmod && svn up -r $pkgver
24     else
25         svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26     fi
28     rm -rf "$srcdir/$_svnmod-build"
29     cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31     msg "Starting make ..."
33     cd "$srcdir/$_svnmod-build/build"
34     cmake -DCMAKE_INSTALL_PREFIX=/usr -DNOMMD=ON ..
35     make
38 package() {
39     cd "$srcdir/$_svnmod-build/build"
40     make DESTDIR="$pkgdir/" install