summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-07-10 17:39:56 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-07-10 17:39:56 -0500
commit6cf68957f10768c1e586ea238302b9935d267ea2 (patch)
treea4b51dba2b54a8a617044565c12249db48cce708
parent0f6b58d89890b4b7ff5045077a70e9a02bdb7891 (diff)
downloadabslibre-6cf68957f10768c1e586ea238302b9935d267ea2.tar.gz
abslibre-6cf68957f10768c1e586ea238302b9935d267ea2.tar.bz2
abslibre-6cf68957f10768c1e586ea238302b9935d267ea2.zip
Removing terasology-git. Use terasology instead
-rw-r--r--pcr/terasology-git/PKGBUILD73
-rwxr-xr-xpcr/terasology-git/terasology2
-rw-r--r--pcr/terasology-git/terasology.desktop9
3 files changed, 0 insertions, 84 deletions
diff --git a/pcr/terasology-git/PKGBUILD b/pcr/terasology-git/PKGBUILD
deleted file mode 100644
index e9fb0a48d..000000000
--- a/pcr/terasology-git/PKGBUILD
+++ /dev/null
@@ -1,73 +0,0 @@
-# Maintainer: André Silva <emulatorman@parabola.nu>
-
-_pkgname=terasology
-pkgname=terasology-git
-pkgver=r5769.2cd5a03
-pkgrel=1
-pkgdesc="Yet another high resolution game with blocks like Minecraft!"
-arch=('any')
-license=('Apache')
-url="http://terasology.org"
-options=('!strip')
-depends=('jdk8-openjdk' 'xorg-server-utils' 'openal')
-makedepends=('gradle' 'unzip' 'git')
-conflicts=("${_pkgname}")
-provides=("${_pkgname}")
-source=(
- "git+https://github.com/MovingBlocks/Terasology.git"
- "${_pkgname}"
- "${_pkgname}.desktop"
-)
-sha512sums=(
- 'SKIP'
- 'f94c1ac3d85e4fb91cc47056eeec3648d02be9090252401acb740af8c0580623c7ee57470d9e7317d6b577d613e317b5c16ec014f232ec68bc755e0eba7a975e'
- '737953ab10027100b6bd03ca60a3f1cd4fff503c4c5a1689b3e12ef8df66a3e3347c99d498e48dccc3be8d00e9e37fcab56d5c97bbb81dd310ce757979aa0276'
-)
-
-pkgver() {
- cd Terasology
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-build() {
- cd Terasology
- gradle --gradle-user-home=. distForLauncher
-}
-
-check() {
- cd Terasology
- gradle --gradle-user-home=. test
-}
-
-package() {
- cd Terasology
- install -Dm 755 "${srcdir}/${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
- install -Dm 644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
-
- cd build/distributions
- unzip Terasology.zip
-
- # extract and install icons
- unzip -u libs/engine-* "org/terasology/icons/*"
- pushd org/terasology/icons
- for icon in *
- do
- size=${icon##*_} #gooey_sweet_XX.png -> XX.png
- size=${size/.png/} #XX.png -> XX
- install -Dm 644 "$icon" "${pkgdir}/usr/share/icons/${size}x${size}/apps/${_pkgname}.png"
- done
- install -Dm 644 "${pkgdir}/usr/share/icons/64x64/apps/${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
- popd
- rm -rv org
-
- # add license
- install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-
- # remove files/dirs for other operating systems
- rm -v run_macosx.command Terasology.{x86,x64}.exe
- rm -rv natives/{macosx,windows}
-
- # remove/copy anything that's left
- rm -v Terasology.zip LICENSE README NOTICE
- cp -rav . "${pkgdir}/usr/share/${_pkgname}"
-}
diff --git a/pcr/terasology-git/terasology b/pcr/terasology-git/terasology
deleted file mode 100755
index aff3980be..000000000
--- a/pcr/terasology-git/terasology
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec sh /usr/share/terasology/run_linux.sh
diff --git a/pcr/terasology-git/terasology.desktop b/pcr/terasology-git/terasology.desktop
deleted file mode 100644
index a2f275370..000000000
--- a/pcr/terasology-git/terasology.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Terasology
-GenericName=Terasology
-Comment=Yet another high resolution game with blocks...
-Exec=terasology
-Terminal=false
-Type=Application
-Icon=terasology
-Categories=Game;