mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
parent
e322975b87
commit
b0754d7f6a
2 changed files with 37 additions and 0 deletions
8
srcpkgs/caph/files/caph.desktop
Normal file
8
srcpkgs/caph/files/caph.desktop
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Caph
|
||||||
|
Comment=Drawing and physics sandbox game
|
||||||
|
Comment[ca]=Trencaclosques de dibuix i física
|
||||||
|
Exec=caph
|
||||||
|
Icon=caph.png
|
||||||
|
Categories=Game;LogicGame;
|
29
srcpkgs/caph/template
Normal file
29
srcpkgs/caph/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'caph'
|
||||||
|
pkgname=caph
|
||||||
|
version=1.1
|
||||||
|
revision=1
|
||||||
|
build_wrksrc="src"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_use_env=yes
|
||||||
|
make_build_args="-f caph.mk"
|
||||||
|
hostmakedepends="which pkg-config"
|
||||||
|
makedepends="SDL-devel libpng-devel"
|
||||||
|
short_desc="Drawing and physics sandbox game"
|
||||||
|
maintainer="Eloi Torrents <eloitor@disroot.org>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://caphgame.sourceforge.net/"
|
||||||
|
changelog="https://sourceforge.net/p/caphgame/code/ci/master/tree/doc/caph/CHANGELOG?format=raw"
|
||||||
|
distfiles="https://sourceforge.net/projects/caphgame/files/caph/caphgame-${version}/caph-${version}.tar.bz2"
|
||||||
|
checksum=6415970e7d32aefc6da2740f931052be8741d3f6663910a36962400b7b9a7ae8
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
./confg
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin caph
|
||||||
|
vmkdir usr/share/caph
|
||||||
|
vcopy ../share/caph usr/share
|
||||||
|
vinstall ../share/caph/brush.png 644 usr/share/pixmaps caph.png
|
||||||
|
vinstall "${FILESDIR}/caph.desktop" 644 usr/share/applications
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue