summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD16
-rw-r--r--armok-vision10
3 files changed, 15 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fcfdbcdaa60..66acb4f3e23 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,16 @@
-# Generated by mksrcinfo v8
-# Fri Mar 4 14:25:54 UTC 2016
pkgbase = armok-vision
pkgdesc = A 3d realtime visualizer for Dwarf Fortress
- pkgver = 0.8.0
+ pkgver = 0.20.2
pkgrel = 1
url = https://github.com/JapaMala/armok-vision
- arch = i686
arch = x86_64
license = MIT
- depends = dfhack=0.40.24_r5-1
- depends = dwarffortress=0.40.24-5
- source = armok-vision-0.8.0.zip::https://github.com/JapaMala/armok-vision/releases/download/v0.8.0/Armok.Vision.0.8.0.Linux.zip
+ depends = dfhack>=0.40.24_r5
+ depends = dwarffortress
+ source = armok-vision-0.20.2.zip::https://github.com/JapaMala/armok-vision/releases/download/v0.20.2/Armok.Vision.0.20.2.Linux.zip
source = armok-vision
- md5sums = 433c181ae0b897918cd9996a479f8df1
- md5sums = 76daf6967fcc4cc51e04ef14ab665200
+ sha512sums = d41a8c858b50fd0a4e47c5ae83bd531619afdaa5cedd221735b1b0f71875cadb51f0772754d348afeaede27a5c1cfd33c162c84f6bce9c96bf32535093699782
+ sha512sums = 2cc24e2342099cf4f540c56e097fb22332dade55e37b535b77c5efcd418fb92d203855f1f47d93f14e4d57df06cd49c39b9041a2b76c3c3593af94960ed59d15
pkgname = armok-vision
diff --git a/PKGBUILD b/PKGBUILD
index cd7ad5dcdab..5509c873354 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,22 @@
# Maintainer: Chris Höppner <me@mkaito.com>
pkgname=armok-vision
-pkgver=0.8.0
+pkgver=0.20.2
pkgrel=1
pkgdesc="A 3d realtime visualizer for Dwarf Fortress"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="https://github.com/JapaMala/armok-vision"
license=('MIT')
depends=('dfhack>=0.40.24_r5' 'dwarffortress')
-source=("$pkgname-$pkgver.zip::https://github.com/JapaMala/armok-vision/releases/download/v0.8.0/Armok.Vision.0.8.0.Linux.zip"
+source=("$pkgname-$pkgver.zip::https://github.com/JapaMala/armok-vision/releases/download/v${pkgver}/Armok.Vision.${pkgver}.Linux.zip"
"armok-vision")
-md5sums=('433c181ae0b897918cd9996a479f8df1'
- '76daf6967fcc4cc51e04ef14ab665200')
+sha512sums=('d41a8c858b50fd0a4e47c5ae83bd531619afdaa5cedd221735b1b0f71875cadb51f0772754d348afeaede27a5c1cfd33c162c84f6bce9c96bf32535093699782'
+ '2cc24e2342099cf4f540c56e097fb22332dade55e37b535b77c5efcd418fb92d203855f1f47d93f14e4d57df06cd49c39b9041a2b76c3c3593af94960ed59d15')
package() {
+ cd ${srcdir}
mkdir -p $pkgdir/opt/dwarffortress/armok-vision
- cp -r "Armok Vision_Data" $pkgdir/opt/dwarffortress/armok-vision/
- install -Dm755 "Armok Vision.x86" "$pkgdir/opt/dwarffortress/armok-vision/Armok Vision.x86"
- install -Dm755 "Armok Vision.x86_64" "$pkgdir/opt/dwarffortress/armok-vision/Armok Vision.x86_64"
+ cp -r ${srcdir}/Armok\ Vision\ Linux_Data/ $pkgdir/opt/dwarffortress/armok-vision/
+ install -Dm755 "Armok Vision Linux.x86_64" "$pkgdir/opt/dwarffortress/armok-vision/Armok Vision Linux.x86_64"
install -Dm755 armok-vision $pkgdir/usr/bin/armok-vision
}
diff --git a/armok-vision b/armok-vision
index 66bbf8a1b4a..19e9e38f7f9 100644
--- a/armok-vision
+++ b/armok-vision
@@ -1,15 +1,7 @@
#!/usr/bin/sh
cd "/opt/dwarffortress/armok-vision"
-arch=$(uname -m)
-if [ "$arch" = "i686" ]; then
- exec "./Armok Vision.x86"
-elif [ "$arch" = "x86_64" ]; then
- exec "./Armok Vision.x86_64"
-else
- echo "Architecture $arch not recognized. Please notify the AUR package maintainer by posting a comment here:"
- echo "https://aur.archlinux.org/packages/armok-vision/"
-fi
+exec "./Armok Vision Linux.x86_64"
# Local Variables:
# mode: shell-script