New package: caph-1.1

Closes: #43234 [via git-merge-pr]
This commit is contained in:
Eloi Torrents 2023-04-01 22:06:10 +02:00 committed by Duncaen
parent e322975b87
commit b0754d7f6a
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 37 additions and 0 deletions

View 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
View 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
}