updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / tintwizard-svn / PKGBUILD
blobe2c937c7b84fff8a2b3e280540db75e42c242691
1 # Contributor: zajca <zajcaa@gmail.com>
2 pkgname=tintwizard-svn
3 pkgver=130
4 pkgrel=1
5 pkgdesc="This project aims to provide an easy way to change the appearance of tint2. Through an easy-to-use graphical user interface, you can generate configs and apply to them tint2."
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/tintwizard/"
8 license=('GPLv3')
9 depends=('python' 'pygtk' 'tint2')
10 makedepends=('subversion')
11 provides=('tintwizard')
12 conflicts=('tintwizard')
13 source=(script_tw)
14 md5sums=('6389a0c6d23f8f9f40f7cea17a09f5ae')
16 _svnmod="tintwizard"
17 _svntrunk="http://tintwizard.googlecode.com/svn/trunk/"
19 build() {
20   cd ${srcdir}
22   #####
23   msg "Getting sources..."
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     cd ${_svnmod}
29   fi
31   msg "SVN checkout done or server timeout"
32   msg "Starting make..."
33   #####
36 mkdir -p $startdir/pkg/usr/{bin,share}
37 cp -r $startdir/src/tintwizard $startdir/pkg/usr/share/tintwizard
38 install -D -m755 $startdir/src/script_tw $startdir/pkg/usr/bin/tintwizard