summaryrefslogtreecommitdiffstats
path: root/django-voting-svn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'django-voting-svn/PKGBUILD')
-rw-r--r--django-voting-svn/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/django-voting-svn/PKGBUILD b/django-voting-svn/PKGBUILD
new file mode 100644
index 0000000..ec25884
--- /dev/null
+++ b/django-voting-svn/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Laszlo Papp <djszapi at archlinux us>
+
+pkgname=django-voting-svn
+pkgver=73
+pkgrel=1
+pkgdesc="A generic voting application for Django projects"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/django-voting/"
+license=('GPL')
+depends=('python')
+
+_svntrunk='http://django-voting.googlecode.com/svn/trunk/'
+_svnmod=${pkgname}
+
+build() {
+ cd $srcdir
+
+ if [ -d $_svnmod/.svn ]; then
+ (cd $_svnmod && svn up -r $pkgver)
+ else
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ fi
+
+ msg "SVN checkout done or server timeout"
+ cd $_svnmod
+
+ python setup.py install --root=$pkgdir
+
+}
+