app-misc/afetch: new package

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
This commit is contained in:
Mathieu Tortuyaux
2021-03-26 16:26:44 +01:00
parent 1e1cbb6ff3
commit 7377c8c7e3
3 changed files with 41 additions and 0 deletions

1
app-misc/afetch/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST afetch-2.0.1.tar.gz 80707 BLAKE2B ef3f0331e276b3a4451e704beb90e31f5540581bc262033016d292a85091cbdbda5624658f40a0be3bb0374caae2e54c6301c10f062840a9bc55e04efe259439 SHA512 82b04591189abcc2b4587b0f119c5832a829539d12a099c712ace533cc2612ec6f135b62c72e9515e43235790c087f765f6ba470ee99b1ed71ac1a5f158796cc

View File

@@ -0,0 +1,25 @@
# 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
restore_config src/config.h
}
src_install() {
emake DESTDIR="${ED}" PREFIX="${EPREFIX}"/usr install
save_config src/config.h
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mathieu.tortuyaux@gmail.com</email>
<name>Mathieu Tortuyaux</name>
</maintainer>
<longdescription lang="en">
Simple system info written in C
</longdescription>
<upstream>
<bugs-to>https://github.com/13-CF/afetch/issues</bugs-to>
</upstream>
</pkgmetadata>