diff --git a/srcpkgs/devilutionX/INSTALL.msg b/srcpkgs/devilutionX/INSTALL.msg new file mode 100644 index 0000000000..82d521f698 --- /dev/null +++ b/srcpkgs/devilutionX/INSTALL.msg @@ -0,0 +1 @@ +This package does NOT include the Diablo I game data. diff --git a/srcpkgs/devilutionX/template b/srcpkgs/devilutionX/template new file mode 100644 index 0000000000..8aafd6b7f1 --- /dev/null +++ b/srcpkgs/devilutionX/template @@ -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 " +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 +}