void-packages/srcpkgs/xbomb/template

23 lines
658 B
Bash
Raw Normal View History

2020-06-23 00:03:43 +00:00
# Template file for 'xbomb'
pkgname=xbomb
version=2.2b
revision=1
build_style=gnu-makefile
makedepends="libXaw-devel libXmu-devel libXt-devel libX11-devel"
short_desc="Minesweeper clone with variable tile shapes"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="GPL-2.0-or-later"
homepage="http://www.gedanken.org.uk/software/xbomb/"
distfiles="${homepage}/download/${pkgname}-${version}.tgz"
checksum=350d8443c0f6339ef463effbb17c9347f669b8641a159a2447706324b87c2219
post_patch() {
vsed -i Makefile -e 's,-L/usr/X11R6/lib,,' -e 's,\bLIB\b,LDFLAGS,g'
}
do_install() {
vinstall xbomb.ad 644 usr/lib/app-defaults XBomb
vbin xbomb
vman xbomb.6
}