diff options
author | Florian Pritz <f-p@gmx.at> | 2009-05-31 11:30:31 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-05-31 11:30:31 +0200 |
commit | 672454da6cdd8c0b776de01a6207a9ca94632f47 (patch) | |
tree | 40c20c65e431fe1390efb8fce3524a059b4652d2 /tint2-svn | |
parent | 235d99c531d685be2eaf365923bc4cb2092fe1c1 (diff) | |
download | aur-packages-672454da6cdd8c0b776de01a6207a9ca94632f47.tar.gz aur-packages-672454da6cdd8c0b776de01a6207a9ca94632f47.tar.xz |
update
Diffstat (limited to 'tint2-svn')
-rw-r--r-- | tint2-svn/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tint2-svn/PKGBUILD b/tint2-svn/PKGBUILD new file mode 100644 index 0000000..650757e --- /dev/null +++ b/tint2-svn/PKGBUILD @@ -0,0 +1,41 @@ +# Contributor: zoulnix <z[o]ulnix.borkedduck.c[o]m> +pkgname=tint2-svn +pkgver=78 +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' 'libxrandr' 'pango' 'imlib2') +makedepends=('gcc' 'make' 'pkgconfig' 'subversion') +provides=('tint2') +conflicts=('tint2' 'tint' 'ttm') +source=() +md5sums=('') + +_svnmod="tint2" +_svntrunk="http://tint2.googlecode.com/svn/trunk" + +build() { + cd ${srcdir} + + ##### + msg "Getting sources..." + if [ -d ${_svnmod}/.svn ]; then + (cd ${_svnmod} && svn up -r ${pkgver}) + else + svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod} + cd ${_svnmod} + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + ##### + + cd ${srcdir}/${_svnmod}/src + sed -i -e 's:CFLAGS= -O2::' Makefile || return 1 + + make clean || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 +}
\ No newline at end of file |