summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-08-13 14:55:06 +0300
committerAzat Bahawi <azahi@teknik.io>2020-08-13 14:55:06 +0300
commit327c13455936d500c5289016e6be105f2140ae6e (patch)
tree4f581c46363ffc48a54cbe3322eff55eeb9d7401
parentx11-misc/colt: Add package (diff)
app-misc/colors: Add package
-rw-r--r--TODO.md1
-rw-r--r--app-misc/colors/colors-9999.ebuild24
-rw-r--r--app-misc/colors/metadata.xml8
3 files changed, 32 insertions, 1 deletions
diff --git a/TODO.md b/TODO.md
index 16107ff..425c142 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,7 +1,6 @@
 # TODO
 
 * [app-misc/asciiquarium](https://github.com/cmatsuoka/asciiquarium)
-* [app-misc/colors](http://git.2f30.org/colors/)
 * [app-misc/eta](https://github.com/aioobe/eta)
 * [app-misc/fbcat](https://github.com/jwilk/fbcat)
 * [app-misc/ly](https://github.com/cylgom/ly)
diff --git a/app-misc/colors/colors-9999.ebuild b/app-misc/colors/colors-9999.ebuild
new file mode 100644
index 0000000..5790d4b
--- /dev/null
+++ b/app-misc/colors/colors-9999.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3
+
+DESCRIPTION="extract colors from pictures"
+HOMEPAGE="http://git.2f30.org/colors"
+EGIT_REPO_URI="git://git.2f30.org/colors.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="media-libs/libpng"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install () {
+	dobin ${PN}
+	doman ${PN}.1
+}
diff --git a/app-misc/colors/metadata.xml b/app-misc/colors/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/app-misc/colors/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>

Consider giving Nix/NixOS a try! <3