diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
commit | ae044aeba549da343d278a26bb72bac844e5a5e4 (patch) | |
tree | b16ea879113ef2bd09bb78bb00e8338b088d3afb /games-emulation/visualboyadvance/files | |
parent | New package - rename. (diff) | |
download | gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.gz gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.bz2 gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.zip |
welcome to games-emulation
Diffstat (limited to 'games-emulation/visualboyadvance/files')
-rw-r--r-- | games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1 | 1 | ||||
-rw-r--r-- | games-emulation/visualboyadvance/files/playvisualboyadvance | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1 b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1 new file mode 100644 index 000000000000..3283f91962bf --- /dev/null +++ b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1 @@ -0,0 +1 @@ +MD5 e679cb0d5749d4ac1e5320511fe022dc VisualBoyAdvance-1.5.1-src.tar.gz 970172 diff --git a/games-emulation/visualboyadvance/files/playvisualboyadvance b/games-emulation/visualboyadvance/files/playvisualboyadvance new file mode 100644 index 000000000000..e7a8848ed635 --- /dev/null +++ b/games-emulation/visualboyadvance/files/playvisualboyadvance @@ -0,0 +1,18 @@ +#!/bin/bash + +PN=VisualBoyAdvance +if ! [ -d ~/.${PN}/save ]; then + mkdir -p ~/.${PN}/save + cd ~/.${PN} + ln -s `which ${PN}` . + cp /usr/games/share/${PN}/${PN}.cfg . + mv ${PN}.cfg ${PN}.cfg.old + sed -e "s:#saveDir.*:saveDir ${HOME}/.${PN}/save:" \ + -e "s:#captureDir.*:captureDir ${HOME}/.${PN}:" \ + -e "s:#batteryDir.*:batteryDir ${HOME}/.${PN}/save:" \ + ${PN}.cfg.old > ${PN}.cfg + rm -f ${PN}.cfg.old +fi + +cd ~/.${PN} +./${PN} $@ |