mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-misc/afetch: bump to 2.2.0
Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
This commit is contained in:
26
app-misc/afetch/afetch-2.2.0.ebuild
Normal file
26
app-misc/afetch/afetch-2.2.0.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit savedconfig
|
||||
|
||||
DESCRIPTION="Simple system info written in C"
|
||||
HOMEPAGE="https://github.com/13-CF/afetch/"
|
||||
SRC_URI="https://github.com/13-CF/afetch/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="savedconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e '/^CFLAGS/d' -e 's/LDFLAGS =/LDFLAGS +=/' -i Makefile || die
|
||||
restore_config src/config.h
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
save_config src/config.h
|
||||
}
|
||||
Reference in New Issue
Block a user