Attempt xul
authorkristianf <devnull@localhost>
Mon, 18 Nov 2013 21:38:05 +0000 (22:38 +0100)
committerkristianf <devnull@localhost>
Mon, 18 Nov 2013 21:38:05 +0000 (22:38 +0100)
app-crypt/msva-perl/Manifest
app-crypt/msva-perl/msva-perl-0.9.2.ebuild
app-crypt/xul-ext-monkeysphere/Manifest
app-crypt/xul-ext-monkeysphere/xul-ext-monkeysphere-0.8.ebuild

index d900f1d..117c175 100644 (file)
@@ -1,6 +1,5 @@
 AUX 10-msva-perl.sh 232 SHA256 e3f5c2f548b82f939b2cc81721646e7456e0368b9d13743cf8707a7c3599dabb SHA512 68ca79d7b05a3d5f33cc19515c5375fba96f655ccb2f6690d61ee8753822ffb3610164238aacee7d85baa17caf866efc529db1d1c850feca162db84c6620fb43 WHIRLPOOL a54eee35f77e18590e8c301891999ec956ec774d1a70bd1ec0b4038e250aac66a00152284dbdcfb7a0f79714ea19d251d44e9ed570c6e92d6c1945aee7aadb31
-AUX msva-perl-0.9.2-makefile-install-target.patch 870 SHA256 0649b5b77ec4e8f1806e7a300bf5acdfb1abbd59576b6bd11a52caf09b12f795 SHA512 c0c9662ef432f8a417e922435dcee9f589c240fa90846c87ab9e511fabd4730ad59457bdb65c935124721f3a44f465dc5cc8e0ed8d8f79d2b4595de40d3faa6b WHIRLPOOL 11e64b2318b5c3fe060abbd3dadebab9cbde2f276f7651ffb66c19117a775ed5d498a2e6c6cdfeabbff79fc8002c9b96a94223884ab48a329f0e89c562d0a471
 AUX msva-perl-0.9.2-makefile-version.patch 462 SHA256 637aeaf956d54dafed2104b96d06332be191c7876f7c0e3ac4acd0dbb831beed SHA512 5a2213175f8ea07625257f1f2856ee58b4e67c61774b9a2a3e85f33bfa4fa79d39e872cd4e65c95754b1b63a31d7e76fda6c1393eb0ea3bbadd44f696d36ab4d WHIRLPOOL ad71b7d41911445093a603942d78e2d299caa73a24d091213a8292b66cf964e2780d646ba3f1aa5ad9c26d334506377deed7a9ad8ef7d4ec9799f603755cb04e
 DIST msva-perl_0.9.2.orig.tar.gz 56057 SHA256 8587fa07b02a6201a6af1e8f62184eca95d1c95b4076c676d93bed480c326756 SHA512 01dd60e1874dfd91dd486a78922fcb0a1bb6641d2c7089dd8ab1180bd1c535a767b7669370068b564aaed8c4ac4048d7e319428dacdef142373db956bd493eb3 WHIRLPOOL 437e3ce96a746d54d62e0892ea6fddfdd45905bf1bbba3fc25e46da58b840d5100c24cd2a326c5d2135ac3d4eec8872512537e351d7278b7501e645ff060d99a
-EBUILD msva-perl-0.9.2.ebuild 1271 SHA256 b4b6fb1f8bf6b66fe207bc25237754136682e93962cae814a54f4a054cf150fe SHA512 1538e3549a1146d041b0b5aeb4f341d14e87d785bd74eff2941cc85a89a1c88e44cf6ebd88b856af05133def125a65f22ecb51900378677ae6d8ef0be9fef8c8 WHIRLPOOL c4e5e3eb4b7c166f85f928ebfbaca4cb3bf2b72c45c77098f3f46bf5c5485011d96ee5c3edec4852e40d91b52b7d7878642d8141abb31478173c6190e1bc9990
+EBUILD msva-perl-0.9.2.ebuild 1311 SHA256 8f9430b031cff1aef07b0677167ba43b328b612045635ffa88f1459d05ed98a3 SHA512 c05085d2144de67bf9b3939b5854dafe121c7e416ec78a5793ed91e74ab5e98afca964d6b94dd84131a54db08ce70067b2afb96bbeaae76405367f371e3ff87a WHIRLPOOL cb298e2a34d0de235304f3d13f03f457d4d6bc8fc341d283625d895fa4dcd460d5b073eac78ea62da4f41f1210c79983485e7a163b0264d46caab71ce504b533
 MISC metadata.xml 246 SHA256 0ab7dfffcac75c33281fdf9a790a53c5a0a213e0cb61e65c2bcb6a729a8b2577 SHA512 644c472165e557cfc57a3cf5a49942b3e90bec3070d5f22cf2df4613e389148b97fa3b0bccdc1aec01020c3dab75c21da8c563d8e31d52180cf22b8e8c730a3e WHIRLPOOL 40cd599973db13c38d1909e96ce6b1581db5e2f61882814d9073072542ecf952bf204b3c45c1471ede4d5aafa7ce3ad67fa4866404fd76ca6535961968207cd3
index 96415ad..b3775fa 100644 (file)
@@ -34,8 +34,8 @@ RDEPEND="
 
 src_prepare()
 {
-       epatch "${FILESDIR}/${P}-makefile-version.patch"
-       sed -i "s/##VERSION##/${PV}/" Makefile
+       sed -i -e "s|^VERSION :=.*|VERSION=${PV}|" \
+              -e "s|^DEBIAN_VERSION=.*|DEBIAN_VERSION=${PV}|" Makefile || die
 }
 
 src_install()
@@ -50,10 +50,10 @@ src_install()
        insinto ${SITE_LIB}/Net/Server
        doins Net/Server/MSVA.pm
        
-       insinto /usr/bin
-       insopts -m555
-       doins msva-perl
-       doins msva-query-agent
+       dobin msva-perl
+       doman msva-perl.1
+       dobin msva-query-agent
+       doman msva-query-agent.1
 
        dodir "/etc/profile.d"
        insinto "/etc/profile.d"
index bb7356f..479cbf1 100644 (file)
@@ -1,3 +1,3 @@
 DIST xul-ext-monkeysphere_0.8.orig.tar.gz 52835 SHA256 ff8f5a8238d5d5bd4ca52eb679934b728ec904ff115f67d1bbbaba64664f45b8 SHA512 857c9777adb9c8e89a0761434a9c6ddec8e1e5d456207d79b96416914ac06e5bba58dadb6c68c76d639565a6bc1aba3ee39cdc54a312d8f7a47abb8d39663243 WHIRLPOOL a7f4922de7d17b473cc0642bb97d3484b1e8e4b3a1bc880e33f29f29ab398737b40c25092a5c09ec29e196b0594f9810c896e536c8f0c188213869ec72f5a5f7
-EBUILD xul-ext-monkeysphere-0.8.ebuild 1291 SHA256 e1edba0ce06b3ab169bb56083b9bad8e8fd540d073116ee8165743bf54ece430 SHA512 5c9dbb939350d6e3b9174fcb98cadbb46d8bc4c5f976903fdaa749be61b7d7e93e91ec720881ed1d166c7e11eaf90f2b7d3e0c5e1a065172909b20650ae4c27d WHIRLPOOL 445d490521532e52ec5aca6552bebf4678405ca92d5a1e2acb759968c78b536fc352271994e7cfddcc6cfce7175d775bbed92e6bc3b5dbc972a3b0c5d108177f
+EBUILD xul-ext-monkeysphere-0.8.ebuild 1187 SHA256 59050adeb8e71033691be6e4b1536b332c45ed33049dce291ea3a21c1076b7ed SHA512 d131944427e1dc2ab3aa750476840e088443dfb79e13d3f608d993188b6c56b5c7bf3cb4cae550988145d0209257153b4edd1a49cb977b9772b7c1bea9d6ca94 WHIRLPOOL fee63f845e5e815603a6d0a9b2292b6ab416560b8ba5c21440e1f7f65450f9ff1b5dfc16d31bd535015d649ec23400e0fb39ccb82695e83913bf44a7d0905a97
 MISC metadata.xml 209 SHA256 1395b5c18e78e85c534a39796fdd1d97be9e17d1800cca5e9a8b1341743f847c SHA512 ba9a5a751095aa33d737e0a6647b78f067497aad54ab0193a5aa2ec01c92a30f613ed85015f2ffda846acea85e892ea498b300f7ebae2e8f31c9cf3e4839db98 WHIRLPOOL b1d84fa003d98e38b81d14580a881417aac75958e924fcbad16cb8803b0b1e6831dc8fbfcb758d5b96e38c6f5f27bdc290bade36adb0a8d67121e169b7cbf2ff
index f2e33c7..2ca77cb 100644 (file)
@@ -1,7 +1,3 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
 EAPI=5
 
 inherit eutils
@@ -17,30 +13,31 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 BDEPEND="media-gfx/inkscape"
-DEPEND="|| ( www-client/firefox-bin www-client/firefox ) "
-
-RDEPEND="app-crypt/msva-perl ${DEPEND}"
+RDEPEND="app-crypt/msva-perl"
+DEPEND="|| ( www-client/firefox-bin www-client/firefox )"
 
 src_install(){
        local emid=$(sed -n 's/.*<em:id>\(.*\)<\/em:id>.*/\1/p' ${S}/install.rdf | head -1)
-       local cleanup=( NOTES Makefile install.rdf.template monkeysphere.xpi chrome/content/*.svg )
+       local cleanup=( NOTES Makefile install.rdf.template monkeysphere.xpi chrome/content/bad.svg  chrome/content/broken.svg  chrome/content/error.svg )
+
        local edir=""
        for i in "${cleanup[@]}"; do rm "${S}/$i"; done;
-       local extinstalldir=""
+       local extinstalldir=()
 
        if has_version '>=www-client/firefox-bin-1.0'; then
                einfo "Binary version of Firefox found"
-               extinstalldir="/opt/firefox/extensions/${emid}  $extinstalldir"
+               extinstalldir+=/opt/firefox/extensions/${emid}
        fi
 
        if has_version '>=www-client/firefox-1.0'; then
                einfo "Source version of Firefox found"
-               extinstalldir="/usr/lib/firefox/browser/extensions/${emid}  $extinstalldir"
+               extinstalldir+=/usr/lib/firefox/browser/extensions/${emid}
        fi
 
-       for i in $extinstalldir; do
+       
+       for i in "${extinstalldir[@]}"; do
                dodir "${i}"
                insinto "${i}"
-               doins "${S}"/*
+               doins ${S}/*
        done;
 }