summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Riha2019-06-24 18:48:44 +0200
committerJose Riha2019-06-24 18:48:44 +0200
commit028d1c29305bb549a8313bf6e7885bb31124ac2c (patch)
tree02b12789617131d531d961205ec2d8e4b31dc09e
downloadaur-028d1c29305bb549a8313bf6e7885bb31124ac2c.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD29
-rw-r--r--checkersland3
-rw-r--r--checkersland.install3
-rw-r--r--checkersland.pngbin0 -> 76398 bytes
5 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2cde78b08dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = checkersland
+ pkgdesc = –°heckers program for playing with computer or people via the Internet
+ pkgver = 20190607
+ pkgrel = 1
+ url = http://checkersland.com/
+ install = checkersland.install
+ arch = x86_64
+ license = freeware
+ makedepends = gendesk
+ depends = java-runtime
+ source = http://checkersland.com/download/checkersland.jar
+ source = checkersland
+ source = checkersland.png
+ md5sums = 312ef7e667519732dcca5163cf308766
+ md5sums = 2c37881e0f34ed66bb4bf862116787c6
+ md5sums = 904461219a50a4fe6631dfe55731c2d9
+
+pkgname = checkersland
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96c04379405
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+pkgname=checkersland
+pkgver=20190607
+pkgrel=1
+pkgdesc='–°heckers program for playing with computer or people via the Internet'
+arch=(x86_64)
+url="http://checkersland.com/"
+license=('freeware')
+depends=(java-runtime)
+makedepends=(gendesk)
+source=(http://checkersland.com/download/checkersland.jar
+ checkersland
+ checkersland.png)
+install=checkersland.install
+md5sums=('312ef7e667519732dcca5163cf308766'
+ '2c37881e0f34ed66bb4bf862116787c6'
+ '904461219a50a4fe6631dfe55731c2d9')
+
+prepare() {
+ gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" --exec "checkersland" --categories "Games"
+}
+
+package() {
+ install -Dm644 "${srcdir}/checkersland.jar" "${pkgdir}/usr/share/games/checkersland/checkersland.jar"
+ install -Dm755 "${srcdir}/checkersland" "${pkgdir}/usr/bin/checkersland"
+ install -Dm644 "${srcdir}/checkersland.desktop" "$pkgdir/usr/share/applications/checkersland.desktop"
+ install -Dm644 "${srcdir}/checkersland.png" "$pkgdir/usr/share/pixmaps/checkersland.png"
+ chgrp -R games "${pkgdir}/usr/share/games/checkersland"
+ chmod 775 "${pkgdir}/usr/share/games/checkersland"
+}
diff --git a/checkersland b/checkersland
new file mode 100644
index 00000000000..027896be185
--- /dev/null
+++ b/checkersland
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /usr/share/games/checkersland
+java -jar checkersland.jar
diff --git a/checkersland.install b/checkersland.install
new file mode 100644
index 00000000000..a09c852d3bc
--- /dev/null
+++ b/checkersland.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo "Make sure you're a member of games group"
+}
diff --git a/checkersland.png b/checkersland.png
new file mode 100644
index 00000000000..fc793f19e5a
--- /dev/null
+++ b/checkersland.png
Binary files differ