scid_vs_pc: add .desktop file
This commit is contained in:
parent
e547c3ae63
commit
f9a8020363
2 changed files with 13 additions and 1 deletions
7
srcpkgs/scid_vs_pc/files/scid_vs_pc.desktop
Normal file
7
srcpkgs/scid_vs_pc/files/scid_vs_pc.desktop
Normal 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
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'scid_vs_pc'
|
# Template file for 'scid_vs_pc'
|
||||||
pkgname=scid_vs_pc
|
pkgname=scid_vs_pc
|
||||||
version=4.21
|
version=4.21
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
hostmakedepends="tcl"
|
hostmakedepends="tcl"
|
||||||
makedepends="tk-devel"
|
makedepends="tk-devel"
|
||||||
|
@ -16,3 +16,8 @@ do_configure() {
|
||||||
./configure CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
./configure CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
||||||
LINK=${CXX} LDFLAGS="${LDFLAGS}" BINDIR=/usr/bin SHAREDIR=${pkgname}
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue