mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/sdlmame-data: Added to 13.0 repository
This commit is contained in:
parent
4351fb5d77
commit
944810459a
4 changed files with 101 additions and 0 deletions
4
games/sdlmame-data/README
Normal file
4
games/sdlmame-data/README
Normal file
|
@ -0,0 +1,4 @@
|
|||
sdlmame-data contains data files for the sdlmame package.
|
||||
|
||||
This requires sdlmame and p7zip. It is necessary to use a web browser to
|
||||
download the Mameinfo zip.
|
68
games/sdlmame-data/sdlmame-data.SlackBuild
Normal file
68
games/sdlmame-data/sdlmame-data.SlackBuild
Normal file
|
@ -0,0 +1,68 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for sdlmame data
|
||||
|
||||
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
|
||||
|
||||
PRGNAM=sdlmame-data
|
||||
VERSION=${VERSION:-0.136}
|
||||
SRCVER=$( echo $VERSION | cut -d. -f2 )
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
SOURCE1="mamehistory$SRCVER.zip"
|
||||
SOURCE2="Mameinfo0$SRCVER.zip"
|
||||
SOURCE3="ctrlr.rar"
|
||||
SOURCE4="catveren.zip"
|
||||
SOURCE5="nplayers0$SRCVER.zip"
|
||||
SOURCE6="cheat0$SRCVER.zip"
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
# Extract dat file
|
||||
unzip $CWD/$SOURCE1
|
||||
unzip $CWD/$SOURCE2
|
||||
7z x Mameinfo0$SRCVER.exe
|
||||
mv docs mameinfo
|
||||
unzip -a $CWD/$SOURCE4
|
||||
mkdir -p catveren
|
||||
mv readme.txt catveren
|
||||
unzip -a $CWD/$SOURCE5
|
||||
mv docs nplayers
|
||||
unzip $CWD/$SOURCE6
|
||||
|
||||
# Fix permissions and line endings
|
||||
chmod 0644 mameinfo/*.txt
|
||||
chmod 0755 mameinfo
|
||||
sed -i 's/\r//' mameinfo/* nplayers/nplayers.txt
|
||||
|
||||
# Install
|
||||
install -d $PKG/usr/share/games/mame
|
||||
install -pm 644 history.dat mameinfo.dat Catver.ini nplayers.ini cheat.zip \
|
||||
$PKG/usr/share/games/mame
|
||||
7z x -o$PKG/usr/share/games/mame $CWD/$SOURCE3
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
catveren/readme.txt nplayers/nplayers.txt mameinfo cheat.txt readhist.txt \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
10
games/sdlmame-data/sdlmame-data.info
Normal file
10
games/sdlmame-data/sdlmame-data.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="sdlmame-data"
|
||||
VERSION="0.136"
|
||||
HOMEPAGE="http://mamedev.org/"
|
||||
DOWNLOAD="http://www.arcade-history.com/dats/mamehistory136.zip http://www.mameworld.info/mameinfo/download/Mameinfo0136.zip http://www.kutek.net/mame_roms_pinball/mame32_config_files/ctrlr.rar http://www.progettoemma.net/public/cat/catveren.zip http://nplayers.arcadebelgium.be/files/nplayers0136.zip http://cheat.retrogames.com/download/cheat0136.zip"
|
||||
MD5SUM="ea90034a66b8b8f473d2c6d253c97d3a 5f16cb636d965985b17605db3bc49a9e d907085f2f69b74198796378e3ed0cb3 ec3e758f968daa9401c283d17baafd96 8ffd128e5a0df7b05a8567bb0c56d3fd 0de58f8bd3e619ffe03afdd9dd5d2aaf"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Pablo Santamaria"
|
||||
EMAIL="pablosantamaria@gmail.com"
|
||||
APPROVED="Erik Hanson"
|
19
games/sdlmame-data/slack-desc
Normal file
19
games/sdlmame-data/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
sdlmame-data: sdlmame-data (Data files for the sdlmame package)
|
||||
sdlmame-data:
|
||||
sdlmame-data: Data files for the sdlmame package.
|
||||
sdlmame-data:
|
||||
sdlmame-data:
|
||||
sdlmame-data:
|
||||
sdlmame-data:
|
||||
sdlmame-data:
|
||||
sdlmame-data:
|
||||
sdlmame-data:
|
||||
sdlmame-data:
|
Loading…
Reference in a new issue