x11-misc/rofi-calc: new ebuild
authorRobin Hallabro-Kokko <robin@hallabro.nu>
Mon, 6 Jan 2020 13:04:41 +0000 (14:04 +0100)
committerJoonas Niilola <juippis@gentoo.org>
Tue, 7 Jan 2020 03:55:01 +0000 (05:55 +0200)
rofi-calc is a rofi (x11-misc/rofi) plugin that uses libqalculate's
qalc to parse natural language input and provide results.

Closes: https://bugs.gentoo.org/704864
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Robin Hallabro-Kokko <robin@hallabro.nu>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
x11-misc/rofi-calc/Manifest [new file with mode: 0644]
x11-misc/rofi-calc/metadata.xml [new file with mode: 0644]
x11-misc/rofi-calc/rofi-calc-1.5.ebuild [new file with mode: 0644]
x11-misc/rofi-calc/rofi-calc-9999.ebuild [new file with mode: 0644]

diff --git a/x11-misc/rofi-calc/Manifest b/x11-misc/rofi-calc/Manifest
new file mode 100644 (file)
index 0000000..10d3a9c
--- /dev/null
@@ -0,0 +1 @@
+DIST rofi-calc-1.5.tar.gz 1693385 BLAKE2B 7ff21873ee298c4295f2766917318796d6327959e63d99adc86857d2e05534e77062c9546ba8c6cf645a12ae46147e4583a61fc95dbc6953ee642449ff108d40 SHA512 04213b6489cd9e3c5085a88cee07ee9413819c19d4ee08f6e2eef3ad418d21b5acaf1d4ef21f1495d81694e5706f93598c91ada65f1bcc83ce94a6cf5d50ea0c
diff --git a/x11-misc/rofi-calc/metadata.xml b/x11-misc/rofi-calc/metadata.xml
new file mode 100644 (file)
index 0000000..0840095
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>robin@hallabro.nu</email>
+               <name>Robin Hallabro-Kokko</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/rofi-calc/rofi-calc-1.5.ebuild b/x11-misc/rofi-calc/rofi-calc-1.5.ebuild
new file mode 100644 (file)
index 0000000..a267871
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Do live calculations in rofi!"
+HOMEPAGE="https://github.com/svenstaro/rofi-calc"
+SRC_URI="https://github.com/svenstaro/rofi-calc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       x11-misc/rofi
+       >=sci-libs/libqalculate-2.0
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       eautoreconf -i
+}
diff --git a/x11-misc/rofi-calc/rofi-calc-9999.ebuild b/x11-misc/rofi-calc/rofi-calc-9999.ebuild
new file mode 100644 (file)
index 0000000..c70193f
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3 autotools
+
+DESCRIPTION="Do live calculations in rofi!"
+HOMEPAGE="https://github.com/svenstaro/rofi-calc"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/svenstaro/rofi-calc.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+       x11-misc/rofi
+       >=sci-libs/libqalculate-2.0
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       eautoreconf -i
+}