summaryrefslogtreecommitdiffstats
path: root/django-voting-svn/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-17 12:02:22 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 12:02:22 +0100
commitdbd1c0d9ff79e45fe66955f48d87eb32c21965a2 (patch)
tree1651dee45f6a694bbebc973fb708639368008b61 /django-voting-svn/PKGBUILD
parentf56ccc71f9d5d564bdbed1946732a456f4a52a63 (diff)
parentcae7b71196612d90c08c39ba2bdc8d0d974aa412 (diff)
downloadaur-packages-dbd1c0d9ff79e45fe66955f48d87eb32c21965a2.tar.gz
aur-packages-dbd1c0d9ff79e45fe66955f48d87eb32c21965a2.tar.xz
Merge branch 'master' of ssh://karif/~flo/git/aur
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
+
+}
+