net-misc/xkcd-handler: new package, add 1.0.12

Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
This commit is contained in:
Mazunki Hoksaas
2023-08-03 23:22:14 +02:00
parent befeaae517
commit 6a2f6f8331
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST xkcd-1.0.12.tar.gz 14451 BLAKE2B e1426d615181a1281356ddc29654174f3ae5b4a275ddfb8914623cd48d9ee72dbf4e39640af0c0745b3e6986d22337a78d1efded92d1ca28b97174860d503ef4 SHA512 ac722fc03f82797c72f5b4bdeea4fabdd5d57d8bc13124d8aee6ee31ab2297e52e30a1bec3c50b6ea29345ea9bcadab207c0aeb92dbcec1dfb05b2d0bf1414e1

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>rolferen@gmail.com</email>
<name>Mazunki Hoksaas</name>
</maintainer>
<upstream>
<remote-id type="github">mazunki/xkcd</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg desktop
DESCRIPTION="A handler for XKCD urls"
HOMEPAGE="https://xkcd.com/"
SRC_URI="https://github.com/mazunki/xkcd/archive/refs/tags/v${PV}.tar.gz -> xkcd-${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="x11-misc/xdg-utils"
S="${WORKDIR}/xkcd-${PV}"
src_install() {
dobin xkcd
domenu xkcd.desktop
doman xkcd.1
}