mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
sys-fs/dwarfs-bin: Updated to 0.7.2
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
46
sys-fs/dwarfs-bin/dwarfs-bin-0.7.2.ebuild
Normal file
46
sys-fs/dwarfs-bin/dwarfs-bin-0.7.2.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2023 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-x86_64.tar.xz -> dwarfs-bin-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
sys-fs/fuse:3
|
||||
!sys-fs/dwarfs
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
S="${WORKDIR}/dwarfs-${PV}-Linux-x86_64/"
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user