mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: graphwar-1.0.0
This commit is contained in:
parent
00c969b44c
commit
b383b8fa62
4 changed files with 30 additions and 0 deletions
2
srcpkgs/graphwar/files/graphwar
Normal file
2
srcpkgs/graphwar/files/graphwar
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#! /bin/sh
|
||||||
|
java -jar /usr/share/java/graphwar/graphwar.jar "$@"
|
2
srcpkgs/graphwar/files/graphwar-globalServer
Normal file
2
srcpkgs/graphwar/files/graphwar-globalServer
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#! /bin/sh
|
||||||
|
java -jar /usr/share/java/graphwar/globalServer.jar "$@"
|
2
srcpkgs/graphwar/files/graphwar-roomServer
Normal file
2
srcpkgs/graphwar/files/graphwar-roomServer
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#! /bin/sh
|
||||||
|
java -jar /usr/share/java/graphwar/roomServer.jar "$@"
|
24
srcpkgs/graphwar/template
Normal file
24
srcpkgs/graphwar/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'graphwar'
|
||||||
|
pkgname=graphwar
|
||||||
|
version=1.0.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="openjdk11"
|
||||||
|
depends="virtual?java-environment"
|
||||||
|
short_desc="Hit your enemies using mathematical functions"
|
||||||
|
maintainer="Eloi Torrents <eloitor@disroot.org>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="http://www.graphwar.com/"
|
||||||
|
distfiles="https://github.com/catabriga/graphwar/archive/refs/tags/${version}.tar.gz"
|
||||||
|
checksum=53011a55adf3577d22dd2a190356d7fff7dc1379e4b8736dfd4933b47ab1e4e9
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr/share/java
|
||||||
|
vmkdir usr/share/java/${pkgname}
|
||||||
|
vinstall globalServer.jar 644 usr/share/java/${pkgname}
|
||||||
|
vinstall graphwar.jar 644 usr/share/java/${pkgname}
|
||||||
|
vinstall roomServer.jar 644 usr/share/java/${pkgname}
|
||||||
|
vbin "${FILESDIR}/${pkgname}"
|
||||||
|
vbin "${FILESDIR}/${pkgname}-globalServer"
|
||||||
|
vbin "${FILESDIR}/${pkgname}-roomServer"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue