Update xul-ext-monkeysphere to use tar source rather than xpi
authorkristianf <devnull@localhost>
Mon, 23 Sep 2013 18:55:02 +0000 (20:55 +0200)
committerkristianf <devnull@localhost>
Mon, 23 Sep 2013 18:55:02 +0000 (20:55 +0200)
app-crypt/xul-ext-monkeysphere/Manifest
app-crypt/xul-ext-monkeysphere/xul-ext-monkeysphere-0.8.ebuild

index 8974167..0dbd8af 100644 (file)
@@ -1,2 +1,2 @@
-DIST monkeysphere.xpi 55778 SHA256 b595e28ca21aa815a10d15a39be0e10dce52140cdf0b081f48674dec5c44d466 SHA512 a66cf6126f6cd608dc869eda3a206e5762e45f0f098a4db1e7612e6107f6d8ab6ef681ac13f1195a739877e2b2d3c1a2ff8846c7cb91d7c973945d9248204d7e WHIRLPOOL fe3ca2b81aa0dcbf7a29b86bb909fbec27a73292df1c592970053c23fe8e330712aedf11a9727bdd05d042aacc46cb7526ab210d91e41408d3fa021231b2c499
-EBUILD xul-ext-monkeysphere-0.8.ebuild 840 SHA256 dd7d83d2bd0bec329f0d2c7a3e90986de5379a86ad6e8813332b1e3b03a6ad4f SHA512 7bce7195b01fcf5aa8aa1df7bd4ca8031e321c5942c1e079d3194213874328af3734aff6bf013f7711553c806acda739d80aa6e78838ba2395ef6f9e67c23243 WHIRLPOOL afc07ecd807335caa1cc1983110a1f057d630af4f7c0b38287bf656e371a47bfb6ad3fd9743f26e9398bbbab44aa94ead2fcf738eda6662cb5828f09ce854757
+DIST xul-ext-monkeysphere_0.8.orig.tar.gz 52835 SHA256 ff8f5a8238d5d5bd4ca52eb679934b728ec904ff115f67d1bbbaba64664f45b8 SHA512 857c9777adb9c8e89a0761434a9c6ddec8e1e5d456207d79b96416914ac06e5bba58dadb6c68c76d639565a6bc1aba3ee39cdc54a312d8f7a47abb8d39663243 WHIRLPOOL a7f4922de7d17b473cc0642bb97d3484b1e8e4b3a1bc880e33f29f29ab398737b40c25092a5c09ec29e196b0594f9810c896e536c8f0c188213869ec72f5a5f7
+EBUILD xul-ext-monkeysphere-0.8.ebuild 909 SHA256 1ec45f1956c206859e4af086de380c3e1655cc0da121a0e110acab7e33950591 SHA512 2da10d46db4531766cb71b939a2b535f8760b513b7a1f9d8c16713e97216aa1847bd1e4c1282f41a875717bebd155201d7c906bb2811c3fafc8b3aa0960df4e7 WHIRLPOOL 31a102d0a497ec8c6a9b0a07c02cb513ee7944549967a8ad178c069081b06ac60ae10a08279085a82a8d2ca176267a857f864e62fef143dc7e8de9dcc6077780
index 02cea08..58df3a1 100644 (file)
@@ -11,25 +11,22 @@ if [[ ${PV} == "9999" ]] ; then
     EGIT_REPO_URI="git://git.monkeysphere.info/${PN}"
     SRC_URI=""
 else
-    SRC_URI="http://archive.monkeysphere.info/xul-ext/monkeysphere.xpi"
+    SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/x/xul-ext-monkeysphere/${PN}_${PV}.orig.tar.gz"
 fi
 
 
-S=${WORKDIR}
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND="app-crypt/msva-perl"
-DEPEND="|| ( www-client/firefox-bin www-client/firefox ) app-arch/unzip"
-
-src_unpack() {
-       unzip -d "${S}" "${DISTDIR}/monkeysphere.xpi"
-}
+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)
+       local cleanup="Makefile install.rdf.template monkeysphere.xpi"
+       for i in $cleanup; do rm ${S}/$i; done; 
        mkdir -p "${D}/opt/firefox/extensions/${emid}"
-       unzip -d "${D}/opt/firefox/extensions/${emid}" "${DISTDIR}/monkeysphere.xpi"
+       cp -r ${S}/* "${D}/opt/firefox/extensions/${emid}/"
 }