app-misc/screenfetch: add ~arm keyword.
authorConrad Kostecki <conrad@kostecki.com>
Thu, 12 Jul 2018 15:01:37 +0000 (17:01 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 15 Jul 2018 08:01:12 +0000 (10:01 +0200)
Bug: https://bugs.gentoo.org/621342
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9203

app-misc/screenfetch/metadata.xml
app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild [new file with mode: 0644]

index a91c788aff058c6853c751ba2d6ac465b8c63654..63bb6250ef47dae8b8548d2e4f3dc844b054ddd7 100644 (file)
@@ -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>hwoarang@gentoo.org</email>
-    <name>Markos Chandras</name>
-  </maintainer>
-   <maintainer type="person">
-    <email>johu@gentoo.org</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>hwoarang@gentoo.org</email>
+               <name>Markos Chandras</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>johu@gentoo.org</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>
diff --git a/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild b/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild
new file mode 100644 (file)
index 0000000..673c98a
--- /dev/null
@@ -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
+}