25 lines
766 B
Bash
25 lines
766 B
Bash
# Template file for 'xdemineur'
|
|
pkgname=xdemineur
|
|
version=2.1.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
makedepends="libX11-devel libXpm-devel libXext-devel"
|
|
short_desc="Minesweeper game for the X Window System"
|
|
maintainer="clos3y <sam.w.close@gmail.com>"
|
|
license="custom:MIT-like"
|
|
homepage="http://www.babafou.eu.org/xdemineur"
|
|
distfiles="http://www.babafou.eu.org/xdemineur/xdemineur-${version}.tar.gz"
|
|
checksum=593824412a208a1b75d5b15745a271dc3eba330d41f7718f4826567d04bcbb9b
|
|
|
|
do_build() {
|
|
"$CC" -lXpm -lX11 demineur.c main.c util.c xdemineur.c -o xdemineur
|
|
}
|
|
|
|
do_install() {
|
|
vbin xdemineur
|
|
vinstall ${FILESDIR}/xdemineur.desktop 644 usr/share/applications
|
|
mv xdemineur.man xdemineur.6
|
|
vman xdemineur.6
|
|
vlicense <( sed -n '/Copyright/,/*/p' INSTALL ) LICENSE
|
|
}
|