Package Base Details: devilutionx-git

Git Clone URL: https://aur.archlinux.org/devilutionx-git.git (read-only, click to copy)
Submitter: LinRs
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 6
Popularity: 0.002142
First Submitted: 2019-01-25 13:23 (UTC)
Last Updated: 2023-04-26 21:17 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

FredBezies commented on 2019-10-14 10:52 (UTC)

updated PKGBUILD:

# Maintainer: LIN Rs <20455421+LinRs [dot] users.noreply.github.com>

pkgbase=devilutionx-git
pkgname=( 'devilutionx-git' 'devilutionx-multilib-git' )
_pkgname=devilutionx
pkgver=0.5.0.r35.g141bffe1
pkgrel=1
pkgdesc="Diablo devolved for linux (git version)"
arch=('x86_64')
url="https://github.com/diasurgical/devilutionX"
license=('custom:unlicense')
makedepends=('git' 'cmake' 'lib32-gcc-libs' 'lib32-sdl2_mixer' 
'sdl2_ttf' 'sdl2_ttf' 'lib32-sdl2_ttf'  'lib32-libsodium' 'libsodium')
#provides=("${pkgname}"="${pkgver}")
install="${_pkgname}".install
source=(
  "${_pkgname}::git+https://github.com/diasurgical/devilutionX.git"
  LICENSE::https://raw.githubusercontent.com/diasurgical/devilutionX/master/LICENSE
)
sha256sums=('SKIP'
            '88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd')
pkgver() {
  cd "${_pkgname}"
  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
  cd "${_pkgname}"
  rm -rf build32 build64
  mkdir -p build64 && cd build64
  cmake .. 
  make
  cd "${srcdir}/${_pkgname}"
  mkdir -p build32 && cd build32
  export CC="gcc -m32"                                                                                                   
  export CXX="g++ -m32"                                                                                                  
  cmake .. 
##    -DCMAKE_TOOLCHAIN_FILE=../CMake/32bit.cmake 
  make
}
package_devilutionx-git() {
  pkgdesc="Diablo devolved for linux (native build)"
  provides=("${_pkgname}"="${pkgver}")
  depends=('sdl2_mixer' 'sdl2_ttf' 'libsodium')
  makedepends=('git' 'cmake')
  cd "${_pkgname}"
  install -vDm755 build64/"${_pkgname}" "${pkgdir}"/usr/bin/"${_pkgname}_native"
  install -vDm644 LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"
}
package_devilutionx-multilib-git() {
  pkgdesc="Diablo devolved for linux (multilib build)"
  provides=("${_pkgname}"="${pkgver}")
  depends=('lib32-gcc-libs' 'lib32-sdl2_mixer' 'sdl2_ttf' 'lib32-sdl2_ttf'  'lib32-libsodium' 'libsodium')
  makedepends=('git' 'cmake')

  cd "${_pkgname}"   
  install -vDm755 build32/"${_pkgname}" "${pkgdir}"/usr/bin/"${_pkgname}_multilib"
  install -vDm644 LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"
}

LinRs commented on 2019-03-29 11:53 (UTC) (edited on 2019-03-29 11:58 (UTC) by LinRs)

dvb23:

There are two versions of the devilutionx build, both native build and multilib(32-bit building on 64-bit platforms) build.

> unfortunately it locks as soon as I enter the cathedral.

The 64bit builds currently are not playable and always crashed when entering the church(upstream confirmed in https://github.com/diasurgical/devilutionX/issues/53);

It's recommended to use the multilib version and you may travel in the cathedral (you just missed the information from file named "devilutionx.install" ).

The whole devolved project is still in early development. If you have any other problems except the packaging issue(issue about packaging => leave comment here), feel free to report to the upstream(https://github.com/diasurgical/devilutionX/issues);

Given enough eyeballs, all bugs are shallow.

dvb23 commented on 2019-03-28 02:26 (UTC)

Works for me, i made a video here https://youtu.be/yPMvsx9A8Ek, unplayable...unfortunately it locks as soon as I enter the cathedral.

LinRs commented on 2019-03-23 09:22 (UTC) (edited on 2019-03-23 09:40 (UTC) by LinRs)

cubethethird, file named "diabdat.mpq" need be placed in your Diablo directory. The Diablo directory default is "~/.local/share/diasurgical/devilution" or the same path with "devilutionx" executable.

Lately, a new install section would be included in the package giving users clearer instruction about the needed file in the diablo directory.

PS: Please do not either run the game with sudo or directly place the certain proprietary files in your $PATH.

cubethethird commented on 2019-03-23 04:04 (UTC) (edited on 2019-03-23 04:44 (UTC) by cubethethird)

Is there somewhere specific the "diabdat.mpq" file should be place with this setup? Seems no matter where I put it I get error messages that it cannot be found.

Update: And as expected, the moment I ask, I figure it out. I have it in /usr/bin, gave it full rw permissions, and needed to run the executable through sudo.