summaryrefslogtreecommitdiff
path: root/packages/net-misc/plowshare/plowshare-2.1.7.exheres-0
diff options
context:
space:
mode:
Diffstat (limited to 'packages/net-misc/plowshare/plowshare-2.1.7.exheres-0')
-rw-r--r--packages/net-misc/plowshare/plowshare-2.1.7.exheres-046
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/net-misc/plowshare/plowshare-2.1.7.exheres-0 b/packages/net-misc/plowshare/plowshare-2.1.7.exheres-0
new file mode 100644
index 0000000..71b5505
--- /dev/null
+++ b/packages/net-misc/plowshare/plowshare-2.1.7.exheres-0
@@ -0,0 +1,46 @@
+# Copyright 2014 Elias Pipping <pipping@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require github [ user=mcrapet tag="v${PV}" ]
+require bash-completion
+
+SUMMARY="Command-line download/upload tool for popular One-Click hosters"
+
+LICENCES="GPL-3"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ run:
+ net-misc/curl[>=7.24]
+ virtual/sed[providers:gnu]
+ recommendation:
+ media-gfx/ImageMagick [[ description = [ Display captcha ] ]]
+ suggestion:
+ dev-libs/spidermonkey:* [[ description = [ Interpret JavaScrpt in plowdown ] ]]
+ app-text/recode [[ description = [ Getting proper filenames ] ]]
+"
+
+DEFAULT_SRC_INSTALL_PARAMS=(
+ BINDIR=/usr/$(exhost --target)/bin
+ DOCDIR=/usr/share/doc/${PNVR}
+)
+
+src_prepare() {
+ if ! option bash-completion; then
+ edo sed -E \
+ "/^install/ s|patch_bash_completion||" \
+ -i Makefile
+ fi
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ PLOWSHARE_FORCE_VERSION=${PV} \
+ default
+}
+