diff options
author | 2015-01-30 13:19:33 +0000 | |
---|---|---|
committer | 2015-01-30 13:19:33 +0000 | |
commit | 9df498e426d9843567283818de8f73fd534f1ccc (patch) | |
tree | fd75da497392dbc55705ed25f03c2d99c40f916d | |
parent | Fix dev-perl/File-KeePass ebuild (diff) | |
download | jamesbroadhead-9df498e426d9843567283818de8f73fd534f1ccc.tar.gz jamesbroadhead-9df498e426d9843567283818de8f73fd534f1ccc.tar.bz2 jamesbroadhead-9df498e426d9843567283818de8f73fd534f1ccc.zip |
Mask net-misc/plowshare-999999999
-rw-r--r-- | net-misc/plowshare/Manifest | 2 | ||||
-rw-r--r-- | net-misc/plowshare/plowshare-99999999.ebuild | 23 |
2 files changed, 13 insertions, 12 deletions
diff --git a/net-misc/plowshare/Manifest b/net-misc/plowshare/Manifest index 970489c..ce8c103 100644 --- a/net-misc/plowshare/Manifest +++ b/net-misc/plowshare/Manifest @@ -1,2 +1,2 @@ -EBUILD plowshare-99999999.ebuild 2055 SHA256 ca657c0cb8171f55ace9707c8748c522d26100a3716ed975bac376acab02a98c SHA512 cffd2ab4b33acad3d513b242191455de88c320ca53a87164ad0ef1efcb0231cde995d44bf906760fbe80de6eda286bc7e14d3c92d87e605a4536cf88a22d7bfc WHIRLPOOL f149678a79fc515a1a7e161fbc74d9fae6a4daa77eb9942af889995302c972fd881e540402aa162c7d95bb8bfd94237ee76d15be1f5960173701185c67f975d8 +EBUILD plowshare-99999999.ebuild 2061 SHA256 131d296ee657513ab6568006b99855a66ed734cda57a8b54ff0234bf7f8c0bb6 SHA512 41daeed91fb0e288cc492640f93ffc5f998fa46bc6e9b433303875f281afe87c376000113d7c15e93045816e194b0b18526e50d75c6f6a8a6569d1785491b184 WHIRLPOOL aafbdf16f77aecbc05c54fbf7f96a033ae96f306a496f733599432f77ba6f37523b78b653e78f9089137c901c6dd1c9171ab1d80dd6ac725d1946d4f83399810 MISC metadata.xml 436 SHA256 570ee354fd5582f16fb1b090baeb3d85faf43f4aaa542a47219813960fa3c073 SHA512 b54e1fe96ed5dfcc9198c02784d16c5994dfc048aa898dc391afec983fce720b852d4780c583a106fe13cc02582bc58b1659cbc84848b3605a814351c4289c3b WHIRLPOOL c964575c08009e35165b542cc671e29db56c1bc295830172beb9ec141f2283e287e50fc2e584c26945b87f1a2d0d982651496ed095fe49e5ed52d276ae7ddd3e diff --git a/net-misc/plowshare/plowshare-99999999.ebuild b/net-misc/plowshare/plowshare-99999999.ebuild index b737efd..928510e 100644 --- a/net-misc/plowshare/plowshare-99999999.ebuild +++ b/net-misc/plowshare/plowshare-99999999.ebuild @@ -12,7 +12,7 @@ EGIT_REPO_URI="https://code.google.com/p/${PN}/" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" +KEYWORDS="" IUSE="bash-completion +javascript scripts view-captcha" RDEPEND=" @@ -25,17 +25,20 @@ RDEPEND=" view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )" DEPEND="" +S=${WORKDIR}/${MY_P} + # NOTES: # javascript dep should be any javascript interpreter using /usr/bin/js +# Modules using detect_javascript +JS_MODULES="letitbit rapidgator zalaa zippyshare" + src_prepare() { - # Modules using detect_javascript if ! use javascript; then - sed -i -e 's:^rapidgator.*::' \ - -e 's:^zalaa*::' \ - -e 's:^zippyshare*::' \ - src/modules/config || die "sed failed" - rm src/modules/{rapidgator,zalaa,zippyshare}.sh || die "rm failed" + for module in ${JS_MODULES}; do + sed -i -e "s:^${module}.*::" src/modules/config || die "${module} sed failed" + rm src/modules/${module}.sh || die "${module} rm failed" + done fi # Don't let 'make install' install docs. @@ -65,9 +68,7 @@ src_install() { if use scripts; then exeinto /usr/bin/ - pwd - ls contrib - doexe contrib/plowdown_{add_remote_loop,loop,parallel}.sh + doexe contrib/{plowdown_{add_remote_loop,loop,parallel}}.sh fi if use bash-completion; then @@ -78,6 +79,6 @@ src_install() { pkg_postinst() { if ! use javascript; then ewarn "Without javascript you will not be able to use:" - ewarn " rapidgator, zalaa, zippyshare" + ewarn " ${JS_MODULES}" fi } |