# Maintainer: Emanuele 'Lele aka eldios' Calo' pkgname=adom-noteye pkgver=3.3.3 pkgrel=3 pkgdesc="A roguelike game with a quest-centric, plot driven structure (+ GUI) - Please consider buying the game on Steam" arch=("x86_64") url="http://www.adom.de/" conflicts=('adom' 'adom-restricted' 'adom-noteye') provides=('adom') depends=('ncurses' 'mesa' 'sdl_image' 'sdl_net' 'sdl_mixer' 'lua51' 'libbsd' 'libmad' 'libpng12') _repo_url="https://repo.sshadm.in/archlinux/eldios" license=('custom:adom') source_x86_64=( "${_repo_url}/${arch}/adom_noteye_64_${pkgver}.tar.xz" "${_repo_url}/common/adom.sh" "${_repo_url}/common/LICENSE" ) # PACKAGES sha256sums_x86_64=( '627ac9f45ded291bcf8cf3b4e3dd5be44eebd0f71b4c4d8b4c1229bd78f55679' '3517fbea5f29299cd16eeb88a3b7c39240fc6268faa8cf8377e678e02e1d832f' 'd0b08609c52ab96fb1083b2b0eea3d022549c59c87b793a140f5dfa56099544b' ) package() { # Copy entire contents of the archive to /opt install -d "${pkgdir}/opt" cp -R "${srcdir}/adom" "${pkgdir}/opt/" # Since the adom binary uses a relative RPATH, it's either # this or patching the binary install --mode 755 "${srcdir}/adom.sh" "${pkgdir}/opt/adom/adom.sh" install -d "${pkgdir}/usr/bin" ln -s "/opt/adom/adom.sh" "${pkgdir}/usr/bin/adom" # Add the LICENSE file install -d "${pkgdir}/usr/share/licenses/${pkgname}" install --mode 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }