2020-02-23 11:29:14 +01:00
|
|
|
# Template file for 'devilutionX'
|
|
|
|
pkgname=devilutionX
|
2020-03-11 03:17:05 +01:00
|
|
|
version=1.0.1
|
2020-02-23 11:29:14 +01:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBINARY_RELEASE=ON -DTTF_FONT_PATH=\"/usr/share/fonts/truetype/CharisSILB.ttf\""
|
|
|
|
makedepends="SDL2-devel SDL2_ttf-devel SDL2_mixer-devel libsodium-devel"
|
|
|
|
short_desc="Diablo I engine for modern operating systems"
|
|
|
|
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
|
|
|
|
license="Unlicense"
|
|
|
|
homepage="https://github.com/diasurgical/devilutionX"
|
|
|
|
distfiles="https://github.com/diasurgical/devilutionX/archive/${version}.tar.gz"
|
2020-03-11 03:17:05 +01:00
|
|
|
checksum=165564fefdbfd0b4fbf74688ea1beb1d811eb1d8e200b9faad5b70ae2ac7564e
|
2020-02-23 11:29:14 +01:00
|
|
|
|
2020-03-14 19:02:07 +01:00
|
|
|
nocross="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/25453/steps/shell_3/logs/stdio"
|
|
|
|
|
2020-02-23 11:29:14 +01:00
|
|
|
do_install() {
|
|
|
|
vbin build/devilutionx
|
|
|
|
vmkdir usr/share/applications
|
|
|
|
vmkdir usr/share/fonts/truetype
|
|
|
|
vmkdir usr/share/icons/hicolor/16x16/apps
|
|
|
|
vmkdir usr/share/icons/hicolor/32x32/apps
|
|
|
|
vmkdir usr/share/icons/hicolor/48x48/apps
|
|
|
|
vinstall Packaging/fedora/devilutionx.desktop 0644 usr/share/applications
|
|
|
|
vinstall Packaging/resources/CharisSILB.ttf 0644 usr/share/fonts/truetype
|
|
|
|
cp Packaging/resources/16.png ${DESTDIR}/usr/share/icons/hicolor/16x16/apps/devilutionx.png
|
|
|
|
cp Packaging/resources/Diablo_32.png ${DESTDIR}/usr/share/icons/hicolor/32x32/apps/devilutionx.png
|
|
|
|
cp Packaging/resources/Diablo_48.png ${DESTDIR}/usr/share/icons/hicolor/48x48/apps/devilutionx.png
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|