1
Fork 0
mirror of https://github.com/Steffo99/archpkg-spiral-knights-steam.git synced 2025-02-16 16:53:57 +00:00
This commit is contained in:
liberodark 2017-11-16 22:50:25 +01:00
parent 991b5c5926
commit 2a47943f6a
3 changed files with 34 additions and 0 deletions

26
PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# Maintainer: liberodark
pkgname=spiral-knights
pkgver=1
pkgrel=1
pkgdesc="Join the ranks of the Spiral Knights. Stranded on an alien world, you must explore the ever-changing Clockworks beneath its surface."
arch=('x86_64')
url="http://www.spiralknights.com/"
license=('custom')
depends=('xdg-utils' 'jre8-openjdk')
source_x86_64=("spiral.tar.gz")
source=($pkgname.desktop
$pkgname.png)
sha512sums=('3ba87bc74efd09fd9f33dc353d2ede7c0e17022498c6fae80ea46b0158df740bfdc0c3b8ba148d65ac5530a90a35b46ea7b372003db39579e084e7e49659e04d'
'08d5165d510755ea84ebe189803dbf66e50efd0c5b35d92b48a164f593544bce85b2852e24a41d218c733116e93994e315cafa677b8dc62d2d163a35687c52d8')
sha512sums_x86_64=('818b8f4ff61b2cbd98ffcd9962771fd383860285d31f54e6b057c3244e056ac986e930324c0e0afe924017658badfdde423062e291161b79803811ef226e832e')
package() {
cd $srcdir
tar xvf spiral.tar.gz
mkdir -p "$pkgdir/usr/bin/spiral/"
cp -r "spiral/." "$pkgdir/usr/bin/spiral/"
chmod 777 -R "$pkgdir/usr/bin/spiral"
install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -vDm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
}

8
spiral-knights.desktop Normal file
View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Spiral Knights
Exec=/usr/bin/spiral/spiral
Icon=spiral-knights.png
Terminal=false
MultipleArgs=false
Type=Application
Categories=Application;

BIN
spiral-knights.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB