root/pbibuild/modules/minigolfmaniacs/build.sh

Revision 1534, 1.0 kB (checked in by kris, 6 months ago)

Update mgolfm to auto-add the wine version to the run script

  • Property svn:executable set to *
Line 
1#!/bin/sh
2# PBI building script
3# This will run after your port build is complete
4# Build your PBI here, and exit 0 on success, or exit 1 on failure.
5##############################################################################
6# Available Variables
7#    PBIDIR = The location of where you can populate your PBI directory
8# MODULEDIR = The location of the module directory for this PBI
9#   PORTVER = Version number of the port we used to build
10##############################################################################
11
12# Save the right version number in the removepbi.sh script
13sed -e "s,CHANGEME,MiniGolfManiacs${PORTVER},g" ${PBIDIR}/scripts/removepbi.sh > /tmp/removepbi.sh
14mv /tmp/removepbi.sh ${PBIDIR}/scripts/removepbi.sh
15chmod 755 ${PBIDIR}/scripts/removepbi.sh
16
17
18# Save the right version number in the removepbi.sh script
19sed -e "s,CHANGE,MiniGolfManiacs${PORTVER},g" ${PBIDIR}/bin/minigolfm > /tmp/minigolfm
20mv /tmp/minigolfm ${PBIDIR}/bin/minigolfm
21chmod 755 ${PBIDIR}/bin/minigolfm
Note: See TracBrowser for help on using the browser.