36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
|
# Template file for 'adom'
|
||
|
pkgname=adom
|
||
|
version=60
|
||
|
revision=1
|
||
|
wrksrc=${pkgname}
|
||
|
depends="ncurses"
|
||
|
short_desc="A roguelike game with a quest-centric, plot driven structure"
|
||
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||
|
license="Proprietary"
|
||
|
homepage="http://www.adom.de"
|
||
|
_download_url="http://www.ancardia.com/download"
|
||
|
nopie=yes
|
||
|
nostrip=yes
|
||
|
repository=nonfree
|
||
|
|
||
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
||
|
distfiles="${_download_url}/adom_linux_debian_64_r${version}_pub.tar.gz"
|
||
|
checksum=e36ec001566cb8bc4c5857dcfa8839b0797888be2c1e3b8476e8c5a9bb93ce2c
|
||
|
|
||
|
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ];then
|
||
|
distfiles="${_download_url}/adom_linux_debian_32_r${version}_pub.tar.gz"
|
||
|
checksum=20b1aba07ac7d90a9437937ae5714fbb0199d2ba460d3b18473370baca665554
|
||
|
|
||
|
else
|
||
|
_platform=arm
|
||
|
distfiles="http://www.ancardia.com/download/adom_linux_arm_r${version}_pub.tar.gz"
|
||
|
checksum=85fd4dbcf127d41c4b44abdbcf13b7efdb0bfa8777efa1659a4071d20cbd80d5
|
||
|
fi
|
||
|
|
||
|
do_install() {
|
||
|
vbin adom
|
||
|
vdoc docs/adomfaq.txt
|
||
|
vdoc docs/manual.txt
|
||
|
vdoc docs/readme1st.txt
|
||
|
}
|