summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/deblob/Manifest1
-rw-r--r--dev-util/deblob/deblob-0.1.ebuild27
-rw-r--r--dev-util/deblob/deblob-9999.ebuild15
3 files changed, 38 insertions, 5 deletions
diff --git a/dev-util/deblob/Manifest b/dev-util/deblob/Manifest
new file mode 100644
index 000000000000..d534dd7269a3
--- /dev/null
+++ b/dev-util/deblob/Manifest
@@ -0,0 +1 @@
+DIST deblob-0.1.tar.gz 10553 BLAKE2B 42253d68d2f424a5a40615b439d126a85ab66e1983e27b2e707ec8914452b2b1d263ee073a62ab5e96a3f3def59271a7301dbb85859c7f61851f7e67a88006ce SHA512 2979e676ebcc41c18a3fbcc041427b1e3515203c070da88bef63946c9449e2e3e7f7b26d563b9b8e11979673436fb05a355b5014496fc708eeffade1cea1ac3a
diff --git a/dev-util/deblob/deblob-0.1.ebuild b/dev-util/deblob/deblob-0.1.ebuild
new file mode 100644
index 000000000000..2d639a50a029
--- /dev/null
+++ b/dev-util/deblob/deblob-0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021-2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ "$PV" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~lanodan/deblob"
+else
+ SRC_URI="https://hacktivis.me/releases/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
+
+DESCRIPTION="remove binary executables from a directory"
+HOMEPAGE="https://git.sr.ht/~lanodan/deblob"
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="dev-lang/hare:="
+RDEPEND=""
+
+# built by hare
+QA_FLAGS_IGNORED="usr/bin/deblob"
+
+src_install() {
+ PREFIX="/usr" default
+}
diff --git a/dev-util/deblob/deblob-9999.ebuild b/dev-util/deblob/deblob-9999.ebuild
index 6aa1709b66e1..c7aef7e2ee86 100644
--- a/dev-util/deblob/deblob-9999.ebuild
+++ b/dev-util/deblob/deblob-9999.ebuild
@@ -3,19 +3,24 @@
EAPI=8
-inherit git-r3
+if [[ "$PV" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~lanodan/deblob"
+else
+ SRC_URI="https://hacktivis.me/releases/${P}.tar.gz"
+fi
DESCRIPTION="remove binary executables from a directory"
HOMEPAGE="https://git.sr.ht/~lanodan/deblob"
-EGIT_REPO_URI="https://git.sr.ht/~lanodan/deblob"
LICENSE="BSD"
SLOT="0"
-DEPEND="
- dev-lang/hare:=
-"
+DEPEND="dev-lang/hare:="
RDEPEND=""
+# built by hare
+QA_FLAGS_IGNORED="usr/bin/deblob"
+
src_install() {
PREFIX="/usr" default
}