xdemineur: remove .desktop; install icon; update protocol

This commit is contained in:
clos3y 2024-07-12 12:41:40 +01:00 committed by classabbyamp
parent c30f7a53a7
commit 559a5f4975
2 changed files with 4 additions and 14 deletions

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=xdemineur
GenericName=xdemineur
Comment=A minesweeper game for the X Window System
Exec=xdemineur
Terminal=false
Categories=Game;Application;

View File

@ -1,14 +1,14 @@
# Template file for 'xdemineur' # Template file for 'xdemineur'
pkgname=xdemineur pkgname=xdemineur
version=2.1.1 version=2.1.1
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
makedepends="libX11-devel libXpm-devel libXext-devel" makedepends="libX11-devel libXpm-devel libXext-devel"
short_desc="Minesweeper game for the X Window System" short_desc="Minesweeper game for the X Window System"
maintainer="clos3y <sam.w.close@gmail.com>" maintainer="clos3y <sam.w.close@gmail.com>"
license="custom:MIT-like" license="custom:MIT-like"
homepage="http://www.babafou.eu.org/xdemineur" homepage="https://www.babafou.eu.org/xdemineur"
distfiles="http://www.babafou.eu.org/xdemineur/xdemineur-${version}.tar.gz" distfiles="https://www.babafou.eu.org/xdemineur/xdemineur-${version}.tar.gz"
checksum=593824412a208a1b75d5b15745a271dc3eba330d41f7718f4826567d04bcbb9b checksum=593824412a208a1b75d5b15745a271dc3eba330d41f7718f4826567d04bcbb9b
do_build() { do_build() {
@ -17,7 +17,7 @@ do_build() {
do_install() { do_install() {
vbin xdemineur vbin xdemineur
vinstall ${FILESDIR}/xdemineur.desktop 644 usr/share/applications vinstall xdemineur.xbm 644 usr/share/pixmaps
mv xdemineur.man xdemineur.6 mv xdemineur.man xdemineur.6
vman xdemineur.6 vman xdemineur.6
vlicense <( sed -n '/Copyright/,/*/p' INSTALL ) LICENSE vlicense <( sed -n '/Copyright/,/*/p' INSTALL ) LICENSE