summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Krause2017-05-05 21:56:48 +0200
committerChristian Krause2017-05-05 21:56:48 +0200
commit1e69163bc8f72359dff1bf17bfbef06a38e2163d (patch)
tree63a034be80273868e9f68d66d12e176471f5c812
parent5a9ae6c0b000c7e19140dd749611ccb6c932b791 (diff)
downloadaur-1e69163bc8f72359dff1bf17bfbef06a38e2163d.tar.gz
dfhack-bin-0.43.05-3
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD19
2 files changed, 22 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 565450283f86..45346cf21a82 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Apr 20 18:01:37 UTC 2017
+# Fri May 5 19:56:24 UTC 2017
pkgbase = dfhack-bin
pkgdesc = memory hacking library for Dwarf Fortress and a set of tools that use it
pkgver = 0.43.05
@@ -8,10 +8,16 @@ pkgbase = dfhack-bin
arch = x86_64
arch = i686
license = custom
- depends = bash
depends = dwarffortress=0.43.05
depends = lua
depends = protobuf
+ depends = libpng12
+ depends = libxrandr
+ depends = libjpeg6
+ depends = freetype2
+ depends = libglvnd
+ depends = libxcursor
+ depends = libxinerama
provides = dfhack
conflicts = dfhack
conflicts = dfhack-git
@@ -19,10 +25,10 @@ pkgbase = dfhack-bin
source = dfhack-run.sh
md5sums = 81f5909c1a32391679f968e40f24d5ca
md5sums = 3853c6f890d3541f710f2c4833a9e696
- source_x86_64 = https://github.com/DFHack/dfhack/releases/download/0.43.05-beta1/dfhack-0.43.05-beta1-Linux-64-gcc-4.8.1.tar.bz2
- md5sums_x86_64 = bcc23efc95ef3d799554a7c8b54bc010
- source_i686 = https://github.com/DFHack/dfhack/releases/download/0.43.05-beta1/dfhack-0.43.05-beta1-Linux-32-gcc-4.8.1.tar.bz2
- md5sums_i686 = 3d1a3daddb52dcba8a45362ca26d8065
+ source_x86_64 = https://github.com/DFHack/dfhack/releases/download/0.43.05-beta2/dfhack-0.43.05-beta2-Linux-64-gcc-4.8.1.tar.bz2
+ md5sums_x86_64 = 4227c793bb90774c5d501b92e8ab315b
+ source_i686 = https://github.com/DFHack/dfhack/releases/download/0.43.05-beta2/dfhack-0.43.05-beta2-Linux-32-gcc-4.8.1.tar.bz2
+ md5sums_i686 = 000e5e7a6dc785d7807ffef09979cf6c
pkgname = dfhack-bin
diff --git a/PKGBUILD b/PKGBUILD
index 2f4a337203d7..6245c8cf78aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,13 @@
pkgname=dfhack-bin
_pkgname=dfhack
pkgver=0.43.05
-_pkgver=$pkgver-beta1
+_pkgver=$pkgver-beta2
pkgrel=3
pkgdesc="memory hacking library for Dwarf Fortress and a set of tools that use it"
arch=('x86_64' 'i686')
url="http://dfhack.readthedocs.io/en/v$pkgver/"
license=('custom')
-depends=(bash
- dwarffortress=$pkgver
- lua
- protobuf)
+depends=(dwarffortress=$pkgver lua protobuf libpng12 libxrandr libjpeg6 freetype2 libglvnd libxcursor libxinerama)
conflicts=(dfhack dfhack-git)
provides=(dfhack)
@@ -23,11 +20,15 @@ source_x86_64=(https://github.com/DFHack/dfhack/releases/download/$_pkgver/dfhac
source=(dfhack.sh
dfhack-run.sh)
+prepare() {
+ sed -e 's|setarch i386 -R ||' \
+ -i $srcdir/dfhack
+}
+
package() {
install -d $pkgdir/opt/dwarffortress
- # TODO add stonesense, once it is included again
- cp -r $srcdir/{hack,dfhack,dfhack-run,dfhack-config,dfhack.init-example} $pkgdir/opt/dwarffortress
+ cp -r $srcdir/{hack,dfhack,dfhack-run,dfhack-config,dfhack.init-example,stonesense} $pkgdir/opt/dwarffortress
install -Dm755 $srcdir/dfhack.sh $pkgdir/usr/bin/dfhack
install -Dm755 $srcdir/dfhack-run.sh $pkgdir/usr/bin/dfhack-run
@@ -37,5 +38,5 @@ package() {
md5sums=('81f5909c1a32391679f968e40f24d5ca'
'3853c6f890d3541f710f2c4833a9e696')
-md5sums_x86_64=('bcc23efc95ef3d799554a7c8b54bc010')
-md5sums_i686=('3d1a3daddb52dcba8a45362ca26d8065')
+md5sums_x86_64=('4227c793bb90774c5d501b92e8ab315b')
+md5sums_i686=('000e5e7a6dc785d7807ffef09979cf6c')