# Contributor: zoulnix <z[o]ulnix.borke[dd]uck.c[o]m>
pkgname=tint2-svn
pkgver=484
pkgrel=1
pkgdesc="A basic, good-looking task manager for WMs."
arch=('i686' 'x86_64')
url="http://code.google.com/p/tint2/"
license=('GPL')
depends=('libxinerama' 'pango' 'imlib2')
makedepends=('autoconf' 'automake' 'gcc' 'make' 'cmake' 'pkgconfig' 'subversion')
options=('!libtool')
provides=('tint2')
conflicts=('tint2' 'tint' 'ttm-svn')
source=()
md5sums=()
_svnmod="tint2"
_svntrunk="http://tint2.googlecode.com/svn/trunk"
build() {
cd ${srcdir}
#####
msg "Retrieving sources from SVN"
svn co $_svntrunk --config-dir ./ $_svnmod
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
msg "SVN checkout done or server timeout"
msg "Starting make..."
#####
# Generating build system
cmake -DCMAKE_INSTALL_PREFIX=/usr ./
make || return 1
make DESTDIR=${pkgdir} install || return 1
}