scid_vs_pc: add .desktop file

This commit is contained in:
Leo 2021-09-14 18:31:18 -03:00 committed by Đoàn Trần Công Danh
parent e547c3ae63
commit f9a8020363
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=Scid vs PC
GenericName=Chess Database
Exec=scid
Icon=/usr/share/pixmaps/scid.png
Categories=Game;BoardGame

View file

@ -1,7 +1,7 @@
# Template file for 'scid_vs_pc'
pkgname=scid_vs_pc
version=4.21
revision=1
revision=2
build_style=configure
hostmakedepends="tcl"
makedepends="tk-devel"
@ -16,3 +16,8 @@ do_configure() {
./configure CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LINK=${CXX} LDFLAGS="${LDFLAGS}" BINDIR=/usr/bin SHAREDIR=${pkgname}
}
post_install() {
vinstall icons/scid.png 644 usr/share/pixmaps
vinstall "$FILESDIR"/scid_vs_pc.desktop 644 usr/share/applications
}