diff options
author | Max | 2018-12-07 15:26:49 +1100 |
---|---|---|
committer | Max | 2018-12-07 15:26:49 +1100 |
commit | be9191e82d249b9374b929bd31afe1d3f1265bc1 (patch) | |
tree | 7d365784c2ef7dbb1212fbd1e0ae2178268784f3 /PKGBUILD | |
download | aur-be9191e82d249b9374b929bd31afe1d3f1265bc1.tar.gz |
initial package upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e39a108f7d5d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Max Chesterfield <`echo Y2hlc3RtMDA3QGhvdG1haWwuY29tCg== | base64 -d`> + + +pkgname=cqlsh +pkgdesc="CQL shell for apache cassandra" +pkgver=3.11.3 +pkgrel=1 +arch=('any') +license=('Apache') +depends=('python2' 'python2-cassandra-driver') +makedepends=('python2-setuptools' 'cython2') +url="https://github.com/apache/cassandra" +source=("git+https://github.com/apache/cassandra/#tag=cassandra-$pkgver") +md5sums=('SKIP') + +build() { + cd "$srcdir/cassandra/pylib" + python2 setup.py build +} + +package() { + mkdir -p $pkgdir/usr/bin + cp "$srcdir/cassandra/bin/cqlsh" $pkgdir/usr/bin/cqlsh + cp "$srcdir/cassandra/bin/cqlsh.py" $pkgdir/usr/bin/cqlsh + + cd "$srcdir/cassandra/pylib" + python2 setup.py install --prefix=/usr --root="$pkgdir" +} |