New package: xbomb-2.2b

This commit is contained in:
Andrew J. Hesford 2020-06-22 20:03:43 -04:00 committed by Piraty
parent eddfec208c
commit 0a7993c708

22
srcpkgs/xbomb/template Normal file
View file

@ -0,0 +1,22 @@
# 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
}