Files
guru/sys-fs/dwarfs-bin/dwarfs-bin-0.6.1.ebuild
Denis Reva 0834a8c4ee sys-fs/dwarfs-bin: updated to 0.6.1
See https://github.com/mhx/dwarfs/releases/tag/v0.6.1 and
https://github.com/mhx/dwarfs/releases/tag/v0.6.0
for complete changelog.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Denis Reva <denis7774@gmail.com>
2022-06-14 11:35:23 +05:00

48 lines
980 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
einfo "Done. Correcting man paths..."
mkdir -p usr/
mv share/ usr/
einfo "Done."
}
src_install(){
mv "${S}"/* "${D}"/
}
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"
}