app-crypt/xul-ext-monkeysphere: Fixup to proper ebuild format
authorkristianf <devnull@localhost>
Sun, 6 Oct 2013 19:01:10 +0000 (21:01 +0200)
committerkristianf <devnull@localhost>
Sun, 6 Oct 2013 19:01:10 +0000 (21:01 +0200)
app-crypt/xul-ext-monkeysphere/xul-ext-monkeysphere-0.8.ebuild

index daa24e5..b8ee8d4 100644 (file)
@@ -5,15 +5,7 @@ inherit base eutils
 DESCRIPTION="Iceweasel/Firefox extension for using Monkeysphere on the web"
 HOMEPAGE="http://web.monkeysphere.info/"
 
-if [[ ${PV} == "9999" ]] ; then
-    inherit git-2
-    EGIT_BRANCH="master"
-    EGIT_REPO_URI="git://git.monkeysphere.info/${PN}"
-    SRC_URI=""
-else
-    SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/x/xul-ext-monkeysphere/${PN}_${PV}.orig.tar.gz"
-fi
-
+SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/x/xul-ext-monkeysphere/xul-ext-monkeysphere_${PV}.orig.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -21,7 +13,10 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND="app-crypt/msva-perl"
-DEPEND="|| ( www-client/firefox-bin www-client/firefox ) app-arch/unzip media-gfx/inkscape"
+DEPEND="
+       || ( www-client/firefox-bin www-client/firefox ) 
+       app-arch/unzip
+       media-gfx/inkscape"
 
 src_install(){
        local emid=$(sed -n 's/.*<em:id>\(.*\)<\/em:id>.*/\1/p' ${S}/install.rdf | head -1)
@@ -42,7 +37,7 @@ src_install(){
 
        
        for i in $extinstalldir; do
-               mkdir -p "${i}"
-               cp -r ${S}/* "${i}"
+               mkdir -p "${i}" || die
+               cp -r ${S}/* "${i}" || die
        done;
 }