From b0754d7f6a86c77deb3bae50fdff8922ae080677 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sat, 1 Apr 2023 22:06:10 +0200 Subject: [PATCH] New package: caph-1.1 Closes: #43234 [via git-merge-pr] --- srcpkgs/caph/files/caph.desktop | 8 ++++++++ srcpkgs/caph/template | 29 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/caph/files/caph.desktop create mode 100644 srcpkgs/caph/template diff --git a/srcpkgs/caph/files/caph.desktop b/srcpkgs/caph/files/caph.desktop new file mode 100644 index 00000000000..a2141b58899 --- /dev/null +++ b/srcpkgs/caph/files/caph.desktop @@ -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; diff --git a/srcpkgs/caph/template b/srcpkgs/caph/template new file mode 100644 index 00000000000..a0d6f8211a0 --- /dev/null +++ b/srcpkgs/caph/template @@ -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 " +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 +}