diff options
author | algebro | 2018-11-20 21:30:08 -0500 |
---|---|---|
committer | algebro | 2018-11-20 21:30:08 -0500 |
commit | dac4b3ec17e7e88883797dbfc13e1f8a88c2a8ab (patch) | |
tree | a50e12e0f7f9b3e4a5eb6ae050c383e442044d82 | |
download | aur-dac4b3ec17e7e88883797dbfc13e1f8a88c2a8ab.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | lizzie.desktop | 9 |
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2823d3ea111f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = lizzie-git + pkgdesc = Analysis interface for Leela Zero + pkgver = 0.6.r19.g6fa818e + pkgrel = 1 + url = https://github.com/featurecat/lizzie + arch = x86_64 + license = GPLv3 + makedepends = git + makedepends = maven + depends = bash + depends = java-runtime + depends = leela-zero-git + noextract = network.gz + source = git+https://github.com/featurecat/lizzie.git + source = network.gz::http://zero.sjeng.org/best-network + source = lizzie.desktop + md5sums = SKIP + md5sums = SKIP + md5sums = 1fefb91214fd8fd2f1241de2b73f8701 + +pkgname = lizzie-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..06638e2ff65e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: algebro <algebro at tuta dot io> +# Contributor: Adrian Petrescu <apetresc at gmail dot com> + +pkgname=lizzie-git +_pkgname=lizzie +pkgver=0.6.r19.g6fa818e +_pkgver=0.6 +pkgrel=1 +pkgdesc="Analysis interface for Leela Zero" +arch=('x86_64') +url="https://github.com/featurecat/lizzie" +license=('GPLv3') +depends=('bash' 'java-runtime' 'leela-zero-git') +makedepends=('git' 'maven') +source=("git+https://github.com/featurecat/lizzie.git" + "network.gz::http://zero.sjeng.org/best-network" + "lizzie.desktop") +noextract=("network.gz") +md5sums=('SKIP' + 'SKIP' + '1fefb91214fd8fd2f1241de2b73f8701') + +pkgver() { + cd lizzie + git describe --long --tags | sed -r 's/^v//; s/([^-]*-g)/r\1/; s/-/./g' +} + +build() { + mv network.gz lizzie/ + cd lizzie + mvn package +} + +check() { + cd lizzie + mvn test +} + +package() { + install -Dm644 "$_pkgname"/target/lizzie-"$_pkgver"-shaded.jar "$pkgdir"/usr/share/java/"$_pkgname"/"$_pkgname".jar + install -Dm644 "$_pkgname".desktop "$pkgdir"/usr/share/applications/"$_pkgname".desktop +} diff --git a/lizzie.desktop b/lizzie.desktop new file mode 100644 index 000000000000..22a1041eee46 --- /dev/null +++ b/lizzie.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Lizzie +GenericName=SGF Editor (Go) +Comment=A GUI for Leela-Zero +Exec=/usr/bin/java -jar /usr/share/java/lizzie/lizzie.jar %U +Terminal=false +Type=Application +Categories=Game; +MimeTime=application/x-go-sgf; |