diff options
author | mrjackv | 2019-08-07 12:09:39 +0200 |
---|---|---|
committer | mrjackv | 2019-08-07 12:09:39 +0200 |
commit | 5826c2b3afc7a72f51f183d469871da60865315d (patch) | |
tree | 16a4f5b07e1800b056e266862bd900c071fe40f4 | |
download | aur-5826c2b3afc7a72f51f183d469871da60865315d.tar.gz |
1.6.0 version, complete with desktop file
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 48 | ||||
-rw-r--r-- | redeclipse.desktop | 10 |
4 files changed, 91 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6775932d3651 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = redeclipse-bin + pkgdesc = free, casual arena shooter + pkgver = 1.6.0 + pkgrel = 1 + url = http://redeclipse.net + arch = i686 + arch = x86_64 + license = ZLIB + license = CCPL:by-sa + license = CCPL:by + license = custom + makedepends = icoutils + depends = sdl2_image + depends = sdl2_mixer + depends = enet + depends = hicolor-icon-theme + provides = redeclipse + conflicts = redeclipse + source = https://github.com/red-eclipse/base/releases/download/v1.6.0/redeclipse_1.6.0_nix.tar.bz2 + source = redeclipse.desktop + sha256sums = 48a947e858587116b7d177cf18148d0d9e40b1c5b481e2c955baed68cffc2849 + sha256sums = e407f5e6a4781214a0a18c583a04ee465bcabdb4feb9a11c41f075e7609723ab + +pkgname = redeclipse-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..859dff1cf895 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# sources +*.tar.gz + +# build logs +*.log + +# packages +*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a180a79aa43e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Giacomo Vercesi <mrjackv@hotmail.it> + +pkgname=redeclipse-bin +pkgver=1.6.0 +pkgrel=1 +pkgdesc="free, casual arena shooter" +arch=(i686 x86_64) +url="http://redeclipse.net" +license=("ZLIB" "CCPL:by-sa" "CCPL:by" "custom") +depends=(sdl2_image sdl2_mixer enet hicolor-icon-theme) +makedepends=(icoutils) +provides=('redeclipse') +conflicts=('redeclipse') +source=("https://github.com/red-eclipse/base/releases/download/v$pkgver/redeclipse_${pkgver}_nix.tar.bz2" + "redeclipse.desktop") +sha256sums=('48a947e858587116b7d177cf18148d0d9e40b1c5b481e2c955baed68cffc2849' + 'e407f5e6a4781214a0a18c583a04ee465bcabdb4feb9a11c41f075e7609723ab') + +prepare() { + cd "redeclipse-$pkgver" + mkdir -p cache +} + +package() { + install -Dm 0644 "redeclipse.desktop" "$pkgdir/usr/share/applications/redeclipse.desktop" + cd "redeclipse-$pkgver" + echo "stable" > branch.txt + REDECLIPSE_CACHE="$(realpath ./cache)" bin/update.sh + find bin -name '*.dll' -delete + find bin -name '*.exe' -delete + rm -r bin/redeclipse.app + rm -r bin/tools + rm bin/update.bat + cd src + icotool -x redeclipse.ico + cd .. + + install -Dm 0644 "doc/license.txt" "$pkgdir/usr/share/licenses/redeclipse/license.txt" + install -Dm 0644 "doc/all-licenses.txt" "$pkgdir/usr/share/licenses/redeclipse/all-licenses.txt" + install -Dm 0644 "src/redeclipse_8_512x512x32.png" "$pkgdir/usr/share/pixmaps/redeclipse.png" + mkdir -p "$pkgdir/opt/redeclipse" + cp -r "bin" "$pkgdir/opt/redeclipse" + cp -r "config" "$pkgdir/opt/redeclipse" + cp -r "data" "$pkgdir/opt/redeclipse" + install -Dm 0755 "redeclipse.sh" "$pkgdir/opt/redeclipse" + install -Dm 0755 "redeclipse_server.sh" "$pkgdir/opt/redeclipse" + echo "inplace" > "$pkgdir/opt/redeclipse/branch.txt" +} diff --git a/redeclipse.desktop b/redeclipse.desktop new file mode 100644 index 000000000000..468e87d923cf --- /dev/null +++ b/redeclipse.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Red Eclipse +Comment=A fast-paced arena shooter +Path=/opt/redeclipse +Exec=redeclipse.sh +Icon=redeclipse +Terminal=false +Categories=Game;Shooter;ActionGame |