void-packages/srcpkgs/lbreakout2/template
2021-08-26 21:46:44 +02:00

20 lines
797 B
Bash

# Template file for 'lbreakout2'
pkgname=lbreakout2
version=2.6.5
revision=2
build_style=gnu-configure
configure_args="--enable-sdl-net --localstatedir=/var/games/$pkgname"
make_install_args="doc_dir=/usr/share/doc"
makedepends="zlib-devel libpng-devel SDL_mixer-devel SDL_net-devel"
short_desc="Breakout-style arcade game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lgames.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz"
checksum=9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f
nocheckperms=yes # uses a world-writable .hscr file for global leaderboard
post_install() {
vinstall ${FILESDIR}/lbreakout2.desktop 644 usr/share/applications
vinstall ${FILESDIR}/lbreakout2.png 644 usr/share/pixmaps
}