New package: devilutionX-1.0.0.

Devilution is open source engine, public domain license.
https://github.com/diasurgical/devilutionX/blob/master/LICENSE
This commit is contained in:
bugcrazy 2020-02-23 07:29:14 -03:00 committed by Toyam Cox
parent 220871527a
commit 834af694e6
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1 @@
This package does NOT include the Diablo I game data.

View file

@ -0,0 +1,28 @@
# Template file for 'devilutionX'
pkgname=devilutionX
version=1.0.0
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=fafb0bac935bbbee8e261d7fbd2d4ea769b88bbc78ba1affef74064a2cc77779
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
}