[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH 2/4] xply, S&S und xgbcemu ziehen um



* xply (player), soft-and-slow und xgbcemu sind auf github umgezogen.
  Weil das Quellarchiv dort immer master.tar.gz heißt, darf es lokal
  nicht (zentral) gecachet werden.

Signed-off-by: Max Reitz <max@xxxxxxxxxx>
---
 lbuilds/player/0.0.3/player-0.0.3.lbuild                 |  9 +++++----
 lbuilds/soft-and-slow/master/soft-and-slow-master.lbuild | 12 +++---------
 lbuilds/xgbcemu/42/xgbcemu-42.lbuild                     | 11 +++--------
 3 files changed, 11 insertions(+), 21 deletions(-)

diff --git a/lbuilds/player/0.0.3/player-0.0.3.lbuild b/lbuilds/player/0.0.3/player-0.0.3.lbuild
index 07f343a..e54cdbc 100644
--- a/lbuilds/player/0.0.3/player-0.0.3.lbuild
+++ b/lbuilds/player/0.0.3/player-0.0.3.lbuild
@@ -2,8 +2,8 @@ include toolchain
 include lutils
 
 DESCRIPTION="Ein Musikabspielprogramm"
-HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/player";
-SRC_URI="http://www.xanclic.bplaced.net/${P}.tar.bz2";
+HOMEPAGE="https://github.com/XanClic/xply";
+SRC_URI="https://github.com/XanClic/xply/archive/master.tar.gz";
 
 LICENSE="MIT"
 
@@ -13,13 +13,14 @@ RUN_DEPEND=""
 MY_S="${S}/${P}"
 
 src_unpack() {
-    lunpack ${P}.tar.bz2
+    lunpack master.tar.gz || die "could not unpack"
+    mv xply-master ${MY_S}
 }
 
 src_compile() {
     cd ${MY_S}
 
-    lmake CC="`tc-cc` -I `tc-incdir` -L `tc-libdir`" || die "make failed"
+    lmake CC="`tc-cc` -I `tc-incdir` -L `tc-libdir`" OUTPUT="null tyn" || die "make failed"
     cd ..
 }
 
diff --git a/lbuilds/soft-and-slow/master/soft-and-slow-master.lbuild b/lbuilds/soft-and-slow/master/soft-and-slow-master.lbuild
index 4dced70..651ca19 100644
--- a/lbuilds/soft-and-slow/master/soft-and-slow-master.lbuild
+++ b/lbuilds/soft-and-slow/master/soft-and-slow-master.lbuild
@@ -2,8 +2,8 @@ include toolchain
 include lutils
 
 DESCRIPTION="OpenGL-Software-Rasterizer"
-HOMEPAGE="http://gitorious.org/asx-games/soft-and-slow";
-SRC_URI="http://gitorious.org/asx-games/soft-and-slow/archive-tarball/master";
+HOMEPAGE="https://github.com/XanClic/soft-and-slow";
+SRC_URI="https://github.com/XanClic/soft-and-slow/archive/master.tar.gz";
 
 LICENSE="GPLv2"
 
@@ -14,14 +14,8 @@ MY_S="${S}/${P}"
 
 src_unpack()
 {
-    if [ "$(head -c 11 ${DISTDIR}/master)" == "The archive" ]; then
-        rm ${DISTDIR}/master
-        die "Try loading the archive again."
-    fi
-    pwd
-    cp ${DISTDIR}/master ${DISTDIR}/master.tar.gz || die "package not found"
     lunpack master.tar.gz || die "could not unpack"
-    mv asx-games-soft-and-slow ${MY_S}
+    mv ${P}-master ${MY_S}
 }
 
 src_compile()
diff --git a/lbuilds/xgbcemu/42/xgbcemu-42.lbuild b/lbuilds/xgbcemu/42/xgbcemu-42.lbuild
index 80ee307..b41e4e7 100644
--- a/lbuilds/xgbcemu/42/xgbcemu-42.lbuild
+++ b/lbuilds/xgbcemu/42/xgbcemu-42.lbuild
@@ -2,8 +2,8 @@ include toolchain
 include lutils
 
 DESCRIPTION="GBC-Emulator"
-HOMEPAGE="http://gitorious.org/xgbcemu";
-SRC_URI="http://gitorious.org/xgbcemu/xgbcemu/archive-tarball/master";
+HOMEPAGE="https://github.com/XanClic/xgbcemu";
+SRC_URI="https://github.com/XanClic/xgbcemu/archive/master.tar.gz";
 
 LICENSE="GPLv2"
 
@@ -14,13 +14,8 @@ MY_S="${S}/${P}"
 
 src_unpack()
 {
-    if [ "$(head -c 11 ${DISTDIR}/master)" == "The archive" ]; then
-        rm ${DISTDIR}/master
-        die "Try loading the archive again."
-    fi
-    cp ${DISTDIR}/master ${DISTDIR}/master.tar.gz || die "package not found"
     lunpack master.tar.gz || die "could not unpack"
-    mv xgbcemu-xgbcemu ${MY_S}
+    mv ${P}-master ${MY_S}
 }
 
 src_compile()
-- 
2.12.2