30 lines
943 B
Bash
30 lines
943 B
Bash
# Template file for 'pipenightdreams'
|
|
pkgname=pipenightdreams
|
|
version=0.10.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args=""
|
|
hostmakedepends="automake flex libtool pkg-config"
|
|
makedepends="SDL_image-devel"
|
|
short_desc="Just another pipe trip"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-3"
|
|
homepage="https://www.libsdl.org/projects/${pkgname}"
|
|
distfiles="${homepage}/packages/${pkgname}-${version}.tar.bz2"
|
|
checksum=302f8ce6e0eb32ebd779700527095cf086c2c7132d47095bae9a43c346245541
|
|
|
|
pre_configure() {
|
|
find . -type f -exec sed -i "{}" -e "s;/games/;/;g" \;
|
|
autoreconf -if
|
|
}
|
|
post_configure() {
|
|
# Replace non-expanded GAME_DATADIR prefix
|
|
sed -i src/config.h -e 's;"${prefix}/;"/usr/;'
|
|
}
|
|
post_install() {
|
|
vmkdir usr/share/applications
|
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
|
vmkdir usr/share/pixmaps
|
|
vinstall images/pipes_space/horizontal.png 644 usr/share/pixmaps ${pkgname}.png
|
|
}
|