updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / yukon-svn / PKGBUILD
blob8ae716e7f9663afc5b7e117058d8e4aef84e3f36
1 # Contributor: Stefan Lohmaier <noneuss@gmail.com>
2 # Contributor (since 9 jun 2010): Juan Diego Tascon
4 pkgname=yukon-svn
5 pkgver=155
6 pkgrel=1
7 pkgdesc="A Screencapture solution for gaming."
8 arch=(i686)
9 license=('GPL')
10 url="https://devel.neopsis.com/projects/yukon/"
11 depends=('libgl' 'libx11' 'seom-svn')
12 makedepends=('subversion' 'yasm')
13 conflicts=('yukon')
14 provides=('yukon')
15 source=()
16 md5sums=()
18 _svntrunk=https://devel.neopsis.com/svn/yukon/trunk
19 _svnmod=yukon
21 build() {
22   cd ${srcdir}
23   
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up -r $pkgver)
26   else
27     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28   fi
29   
30   msg "SVN checkout done or server timeout"
31   msg "Starting make..."
32   
33   cp -r $_svnmod $_svnmod-build
34   cd $_svnmod-build
35   
36   ./configure --prefix="/usr" || return 1
37   make || return 1
38   make DESTDIR="$pkgdir" install || return 1
39   install -D sysconf $pkgdir/etc/yukon/system/sysconf
42 # vim:syntax=sh