summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Theodorou2015-07-07 22:14:14 +0100
committerAngelo Theodorou2015-07-07 22:14:14 +0100
commite90bfc20e3f607ad26d2fb09dbe7ca968ccce991 (patch)
tree04f1ca7bda27559047fff477f0cac457e26dc937
downloadaur-e90bfc20e3f607ad26d2fb09dbe7ca968ccce991.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--ChangeLog12
-rw-r--r--PKGBUILD37
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c60aea7e7d2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = globs-svn
+ pkgdesc = GL Open Benchmark Suite
+ pkgver = 50
+ pkgrel = 2
+ url = http://globs.sourceforge.net
+ arch = any
+ license = GPL
+ makedepends = subversion
+ makedepends = scons
+ makedepends = gettext
+ depends = pygtk
+ optdepends = python-matplotlib
+ provides = globs
+
+pkgname = globs-svn
+
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 00000000000..5b24d458f1a
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,12 @@
+2011-08-11 Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
+
+ * PKGBUILD :
+ Architecture set to "any"
+
+2009-10-05 Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
+
+ * PKGBUILD :
+ Following the latest PKGBUILD-svn.proto template
+ Removed install file
+ Added the optdepends array
+ Using $srcdir and $pkgdir variables
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c54b6a2cea8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
+pkgname=globs-svn
+pkgver=50
+pkgrel=2
+pkgdesc="GL Open Benchmark Suite"
+arch=('any')
+url="http://globs.sourceforge.net"
+license=('GPL')
+depends=('pygtk')
+makedepends=('subversion' 'scons' 'gettext')
+optdepends=('python-matplotlib')
+provides=('globs')
+
+_svntrunk=https://globs.svn.sourceforge.net/svnroot/globs/globs/trunk
+_svnmod=globs
+
+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"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/$_svnmod-build"
+ cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
+ cd "$srcdir/$_svnmod-build"
+
+ # Make program
+ scons install root=$pkgdir prefix=/usr
+ python2 patchdir.py prefix=/usr
+ python2 setup.py install --root=$pkgdir --prefix=/usr
+}