summaryrefslogtreecommitdiffstats
path: root/tint2-svn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tint2-svn/PKGBUILD')
-rw-r--r--tint2-svn/PKGBUILD41
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