Skip to content

Commit

Permalink
app-misc/screenfetch: add ~arm keyword.
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/621342
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: gentoo#9203
  • Loading branch information
ConiKost authored and monsieurp committed Jul 15, 2018
1 parent 8780e75 commit 711de45
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 14 deletions.
28 changes: 14 additions & 14 deletions app-misc/screenfetch/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Markos Chandras</name>
</maintainer>
<maintainer type="person">
<email>[email protected]</email>
<name>Johannes Huber</name>
</maintainer>
<use>
<flag name="X">Use the <pkg>media-gfx/scrot</pkg> package to take screenshots</flag>
</use>
<upstream>
<remote-id type="github">KittyKatt/screenFetch</remote-id>
</upstream>
<maintainer type="person">
<email>[email protected]</email>
<name>Markos Chandras</name>
</maintainer>
<maintainer type="person">
<email>[email protected]</email>
<name>Johannes Huber</name>
</maintainer>
<use>
<flag name="X">Use the <pkg>media-gfx/scrot</pkg> package to take screenshots</flag>
</use>
<upstream>
<remote-id type="github">KittyKatt/screenFetch</remote-id>
</upstream>
</pkgmetadata>
35 changes: 35 additions & 0 deletions app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PN="${PN/f/F}"

DESCRIPTION="Bash Screenshot Information Tool"
HOMEPAGE="https://github.com/KittyKatt/screenFetch"

LICENSE="GPL-3"
SLOT="0"
IUSE="curl X"

DEPEND=""
RDEPEND="
curl? ( net-misc/curl )
X? (
media-gfx/scrot
x11-apps/xdpyinfo
)"

if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch.git"
inherit git-r3
else
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
fi

src_install() {
newbin ${PN}-dev ${PN}
einstalldocs
}

0 comments on commit 711de45

Please sign in to comment.