30 lines
913 B
Bash
30 lines
913 B
Bash
# 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
|
|
}
|