summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f15f8be4bf0a5c21a4deeece20d5d3b37f2d8042 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Zhanibek Adilbekov <zhanibek.adilbekov@pm.me>
pkgname=cypher-shell
pkgver=4.0.2
pkgrel=1
pkgdesc="A command line shell where you can execute Cypher against an instance of Neo4j"
arch=('any')
url="https://github.com/neo4j/cypher-shell"
license=('GPL3')
depends=('java-runtime>=8')
source=(
    "$pkgname-$pkgver.zip::https://github.com/neo4j/cypher-shell/releases/download/$pkgver/cypher-shell.zip")
md5sums=('51c0482985fab03da1c4a51cf0ef0302')

package() {
    mkdir -p $pkgdir/usr/share/$pkgname
    install -Dm755 $srcdir/$pkgname/cypher-shell $pkgdir/usr/share/$pkgname/cypher-shell
    install -Dm755 $srcdir/$pkgname/cypher-shell.bat $pkgdir/usr/share/$pkgname/cypher-shell.bat
    install -Dm644 $srcdir/$pkgname/cypher-shell.jar $pkgdir/usr/share/$pkgname/cypher-shell.jar
    install -dm755 $pkgdir/usr/bin
    ln -sf /usr/share/$pkgname/cypher-shell $pkgdir/usr/bin/cypher-shell
}