Files
guru/sys-fs/dwarfs-bin/dwarfs-bin-0.6.2.ebuild
Denis Reva 7082d95528 sys-fs/dwarfs-bin: updated to 0.6.2
Signed-off-by: Denis Reva <denis7774@gmail.com>
2023-02-28 18:07:53 +05:00

48 lines
1008 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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}/dwarfs-${PV}-Linux.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
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"
}