aboutsummaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDenis Reva <denis7774@gmail.com>2023-02-28 18:12:24 +0500
committerDenis Reva <denis7774@gmail.com>2023-02-28 18:12:24 +0500
commitf53d4be554b2237f895aa1755ae1a12373c6ed63 (patch)
treed77e33d97ac6e35b59443139c1f8197aca158cf4 /sys-fs
parentsys-fs/dwarfs-bin: updated to 0.6.2 (diff)
downloadguru-f53d4be554b2237f895aa1755ae1a12373c6ed63.tar.gz
guru-f53d4be554b2237f895aa1755ae1a12373c6ed63.tar.bz2
guru-f53d4be554b2237f895aa1755ae1a12373c6ed63.zip
sys-fs/dwarfs-bin: added release-candidate version
Signed-off-by: Denis Reva <denis7774@gmail.com>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/dwarfs-bin/Manifest1
-rw-r--r--sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index cc7920960..67287f713 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1 +1,2 @@
DIST dwarfs-0.6.2-Linux.tar.xz 5854936 BLAKE2B ad4bfe3e31ef0a1cd5649962a0b28d88999bd000a987c0a0c2d8d771ced395d036b10c737be84cd0e156ec0e7d7e752f37a6f08681f5b7fcb5b4f14355b8fae4 SHA512 58563a6971fc00cb22a5b253bd7a30170e4dd1136450d5540ea15d9c5c1ad504ef2b115d2241da729a47553f36614f6ceb2095feafc8f96205e6877213534104
+DIST dwarfs-0.7.0-RC4-Linux.tar.xz 6346140 BLAKE2B fbd88d4badb9f95418e54480b2b544503cb2935d9330b550a4e2b638c93726de0ee45d28831a0e61791b4f62cde436f102119619958f3a01c25ca4cb8e22ccc8 SHA512 6b3a1d1daf4c6ca2925767e64f27a1ab9cc826274d4881ec298cbfac3a717e7f0fb6458a1c71eee62e5f1339b705f89f75b73bad1408544057c09a0cb4faf00b
diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
new file mode 100644
index 000000000..afdef5b74
--- /dev/null
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/_rc/-RC}"
+
+DESCRIPTION="Static version of a fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}-RC4/dwarfs-${MY_P}-Linux.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ sys-fs/fuse:3
+ !sys-fs/dwarfs
+"
+DEPEND="
+ ${RDEPEND}
+"
+S="${WORKDIR}/dwarfs-${PV}-Linux/"
+QA_PREBUILT="
+ sbin/dwarfs
+ bin/*
+"
+src_prepare() {
+ default
+ einfo "Removing legacy fuse2-related stuff..."
+ rm sbin/dwarfs2 sbin/mount.dwarfs2 || die
+ einfo "Done. Correcting man paths..."
+ mkdir -p usr/ || die
+ mv share/ usr/ || die
+ einfo "Done."
+}
+
+src_install(){
+ mv "${S}"/* "${D}"/ || die
+}
+
+pkg_postinst(){
+ elog "You may find more information in the"
+ elog "${HOMEPAGE}"
+ elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+ elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}