updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / talika-svn / PKGBUILD
blobe12b8066361cc80c3eb86c9c893e25726cd02daa
1 # Contributor: Jackson Alley <jacksonalley@gmail.com>
2 pkgname=talika-svn
3 pkgver=24
4 pkgrel=1
5 pkgdesc="GNOME panel applet to switch between open windows using icons."
6 arch=(any)
7 url="http://sourceforge.net/projects/talika/"
8 license=('GPL2')
9 groups=()
10 depends=('gnome-panel' 'libwnck')
11 makedepends=('intltool' 'libwnck' 'subversion')
12 optdepends=()
13 provides=('talika')
14 conflicts=('talika')
15 replaces=()
16 backup=()
17 options=()
18 install=
19 noextract=()
20 md5sums=() #generate with 'makepkg -g'
21 _svntrunk=https://talika.svn.sourceforge.net/svnroot/talika
22 _svnmod=talika
24 build() {
25   cd $srcdir
27   if [ -d $_svnmod/.svn ]; then
28     (cd $_svnmod && svn up -r $pkgver && cd ..)
29   else
30     svn co $_svntrunk --config-dir ./ $_svnmod
31   fi
33   msg "SVN checkout done or server timeout, updating build dir"
35   cp -urT $_svnmod/ $_svnmod-build
37   cd $_svnmod-build/trunk
39   ./autogen.sh --prefix=/usr                                                               
40   make || return 1                                                                        
41   make DESTDIR="$pkgdir/" install