summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Alexander Kapshuna <kapsh@kap.sh> 2020-10-04 22:58:45 +0300
committerAvatar Alexander Kapshuna <kapsh@kap.sh> 2020-10-06 01:44:26 +0300
commitba3cff1684bf3a814298289b05751927a8a4d378 (patch)
treebc91ea529bc0db20c637350e91996f07db6f1b14
parente65ba49b930d5b67b1265b1ab5aae82cb6bd64d7 (diff)
downloadpipping-master.tar.gz
pipping-master.tar.xz
plowshare: version bump to 2.1.7HEADmaster
-rw-r--r--metadata/repository_mask.conf1
-rw-r--r--packages/net-misc/plowshare/plowshare-2.1.7.exheres-046
-rw-r--r--packages/net-misc/plowshare/plowshare-scm.exheres-023
3 files changed, 46 insertions, 24 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
index 6d98218..7224b2f 100644
--- a/metadata/repository_mask.conf
+++ b/metadata/repository_mask.conf
@@ -3,7 +3,6 @@
app-emacs/bref[~scm]
dev-libs/mujs[~scm]
experimental/dragonegg[~scm]
- net-misc/plowshare[~scm]
) [[
*author = [ Elias Pipping <pipping@exherbo.org> ]
*token = scm
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
+}
+
diff --git a/packages/net-misc/plowshare/plowshare-scm.exheres-0 b/packages/net-misc/plowshare/plowshare-scm.exheres-0
deleted file mode 100644
index 6749571..0000000
--- a/packages/net-misc/plowshare/plowshare-scm.exheres-0
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 2014 Elias Pipping <pipping@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-SCM_REPOSITORY=https://code.google.com/p/${PN}
-
-require googlecode scm-git
-
-SUMMARY="Command-line download/upload tool for popular One-Click hosters"
-
-LICENCES="GPL-3"
-SLOT="0"
-PLATFORMS="~amd64"
-MYOPTIONS=""
-
-DEPENDENCIES="
- run:
- net-misc/curl
-"
-
-DEFAULT_SRC_INSTALL_PARAMS=( PREFIX=/usr/$(exhost --target) )
-
-src_compile() { :; }
-