30 lines
1.4 KiB
Bash
30 lines
1.4 KiB
Bash
# Template file for 'devilutionX'
|
|
pkgname=devilutionX
|
|
version=1.0.1
|
|
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"
|
|
checksum=165564fefdbfd0b4fbf74688ea1beb1d811eb1d8e200b9faad5b70ae2ac7564e
|
|
|
|
nocross="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/25453/steps/shell_3/logs/stdio"
|
|
|
|
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
|
|
}
|