diff options
author | Christian Krause | 2017-05-05 21:56:48 +0200 |
---|---|---|
committer | Christian Krause | 2017-05-05 21:56:48 +0200 |
commit | 1e69163bc8f72359dff1bf17bfbef06a38e2163d (patch) | |
tree | 63a034be80273868e9f68d66d12e176471f5c812 /PKGBUILD | |
parent | 5a9ae6c0b000c7e19140dd749611ccb6c932b791 (diff) | |
download | aur-1e69163bc8f72359dff1bf17bfbef06a38e2163d.tar.gz |
dfhack-bin-0.43.05-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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') |