1 # Maintainer: mickael9 <mickael9 at gmail dot com>
2 pkgname=pidgin-capsnot-svn
5 pkgdesc="Keyboard LED Notification for Pidgin"
7 url="http://code.google.com/p/pidgin-capsnot/"
10 makedepends=('subversion')
12 _svntrunk='http://pidgin-capsnot.googlecode.com/svn/trunk/'
13 _svnmod=pidgin-capsnot
17 msg "Connecting to SVN server...."
19 if [[ -d "$_svnmod/.svn" ]]; then
20 (cd "$_svnmod" && svn up -r "$pkgver")
22 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
25 msg "SVN checkout done or server timeout"
26 msg "Starting build..."
28 rm -rf "$srcdir/$_svnmod-build"
29 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
30 cd "$srcdir/$_svnmod-build"
36 cd "$srcdir/$_svnmod-build"
37 install -D capsnot.so "$pkgdir/usr/lib/pidgin/capsnot.so"
40 # vim:set ts=2 sw=2 et: