Rename catsfc to snes9x2005

This commit is contained in:
Jean-André Santoni 2016-08-25 22:05:00 +02:00
parent 75ac1a4588
commit 8980d1ef06
2 changed files with 14 additions and 14 deletions

View File

@ -18,8 +18,8 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="catsfc"
PKG_VERSION="f85531b"
PKG_NAME="snes9x2005"
PKG_VERSION="76b73ff"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Non-commercial"
@ -28,8 +28,8 @@ PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Super Nintendo/Super Famicom emulator."
PKG_LONGDESC="Super Nintendo/Super Famicom emulator."
PKG_SHORTDESC="Snes9x 2005."
PKG_LONGDESC="Snes9x 2005. Port of SNES9x 1.43 for libretro (was previously called CAT SFC)."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
@ -40,5 +40,5 @@ make_target() {
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp catsfc_libretro.so $INSTALL/usr/lib/libretro/
cp snes9x2005_libretro.so $INSTALL/usr/lib/libretro/
}

View File

@ -20,25 +20,25 @@
################################################################################
echo "getting sources..."
if [ ! -d catsfc.git ]; then
git clone https://github.com/libretro/catsfc.git -b master catsfc.git
if [ ! -d snes9x2005.git ]; then
git clone https://github.com/libretro/snes9x2005.git -b master snes9x2005.git
fi
cd catsfc.git
cd snes9x2005.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf catsfc-$GIT_REV
cp -R catsfc.git catsfc-$GIT_REV
rm -rf snes9x2005-$GIT_REV
cp -R snes9x2005.git snes9x2005-$GIT_REV
echo "cleaning sources..."
rm -rf catsfc-$GIT_REV/.git
rm catsfc-$GIT_REV/.gitignore
rm -rf snes9x2005-$GIT_REV/.git
rm snes9x2005-$GIT_REV/.gitignore
echo "packing sources..."
tar cvJf catsfc-$GIT_REV.tar.xz catsfc-$GIT_REV
tar cvJf snes9x2005-$GIT_REV.tar.xz snes9x2005-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf catsfc-$GIT_REV
rm -rf snes9x2005-$GIT_REV