summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten van Gompel2015-06-21 12:51:04 +0200
committerMaarten van Gompel2015-06-21 12:51:04 +0200
commit4650148bf2641db1f22b523be31c5b5dcd7b7506 (patch)
tree22385128d43b6595648548355de7a3772951db4a
downloadaur-4650148bf2641db1f22b523be31c5b5dcd7b7506.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD30
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aa26503f9e9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = python2-clam-git
+ pkgdesc = CLAM turns command-line tools into fully RESTful webservices and also offers a modern web-based user-interface
+ pkgver = 1472
+ pkgrel = 2
+ url = http://proycon.github.io/clam
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = python2
+ depends = python2-setuptools
+ depends = python2-lxml
+ depends = python2-webpy
+ depends = python2-crypto
+ depends = python2-pycurl
+ depends = python2-requests-oauthlib
+ provides = python2-clam
+ source = git://github.com/proycon/clam
+ md5sums = SKIP
+
+pkgname = python2-clam-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e8f3f62b855
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+_pkgname=python2-clam
+pkgname=${_pkgname}-git
+pkgver=1472
+pkgrel=2
+pkgdesc='CLAM turns command-line tools into fully RESTful webservices and also offers a modern web-based user-interface'
+arch=('i686' 'x86_64')
+url="http://proycon.github.io/clam"
+license=('GPL')
+depends=('python2' 'python2-setuptools' 'python2-lxml' 'python2-webpy' 'python2-crypto' 'python2-pycurl' 'python2-requests-oauthlib')
+makedepends=('git')
+provides=("${_pkgname}")
+source=("git://github.com/proycon/clam")
+_gitname=("clam")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ git rev-list --count HEAD
+}
+
+build() {
+ cd "$srcdir/$_gitname"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
+