sdlmame: update to 0144 patchlevel 5.

This commit is contained in:
Juan RP 2012-01-09 17:49:26 +01:00
parent 6cae1c911d
commit 9badfe2110

View file

@ -1,7 +1,7 @@
# Template file for 'mame'
pkgname=sdlmame
_distver=0144
# _patchver=8
_patchver=5
if [ -n "${_patchver}" ]; then
version=${_distver}u${_patchver}
else
@ -20,6 +20,7 @@ long_desc="
noextract=yes
Add_dependency build perl ">=0"
Add_dependency build pkg-config
Add_dependency build SDL-devel
Add_dependency build SDL_ttf-devel
@ -35,10 +36,10 @@ do_extract() {
unzip -q ${XBPS_SRCDISTDIR}/$(basename $distfiles)
unzip -q mame.zip
rm -f mame.zip
find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
# XXX disabled, patches can't be applied?
# Download and apply released patches.
if false; then
for p in $(seq -w 1 ${_patchver}); do
_patch=${_distver}u${p}
msg_normal "Fetching patch: ${_patch} ...\n"
@ -48,7 +49,6 @@ do_extract() {
&& patch -p0 -E -i ${_patch}.diff
rm -f ${_patch}_diff
done
fi
}
do_build() {