mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
app-text/stdman: use sed instead of a patch
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
@@ -3,26 +3,26 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Formatted C++ stdlib man pages (cppreference)"
|
||||
HOMEPAGE="https://github.com/jeaye/stdman"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-dont-compress-files.patch" )
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/jeaye/stdman"
|
||||
EGIT_REPO_URI="https://github.com/jeaye/stdman.git"
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/jeaye/stdman/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid compressing files
|
||||
sed -i '/gzip/d' do_install || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# don't need to compile anything
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user