From 672454da6cdd8c0b776de01a6207a9ca94632f47 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 31 May 2009 11:30:31 +0200 Subject: update --- tint2-svn/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tint2-svn/PKGBUILD (limited to 'tint2-svn/PKGBUILD') 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 +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 -- cgit v1.2.3-24-g4f1b