summaryrefslogtreecommitdiff
path: root/app-misc/cadubi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/cadubi
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/cadubi')
-rw-r--r--app-misc/cadubi/Manifest4
-rw-r--r--app-misc/cadubi/cadubi-1.3.ebuild28
-rw-r--r--app-misc/cadubi/files/cadubi-1.3-helpfile.patch11
-rw-r--r--app-misc/cadubi/metadata.xml5
4 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/cadubi/Manifest b/app-misc/cadubi/Manifest
new file mode 100644
index 000000000000..f40ea4ad62a4
--- /dev/null
+++ b/app-misc/cadubi/Manifest
@@ -0,0 +1,4 @@
+AUX cadubi-1.3-helpfile.patch 351 BLAKE2B 1dae10ad3b58bfc21b0c1ffcccbaec6c41de3433fad5657ed02273fb0f91e3e0ad3c15292c8bc5cca5850cbd0ad41d3fed8705f50f22431908565f5f66e27da6 SHA512 36c2af2d77a58d5091b7171495a8d788e219e65a664fe0bfd55800a2aacaac04db5e2d249c6bc8737336c43e2852687f7fee7da4510597d64b40abe4843cdac3
+DIST cadubi-1.3.tar.gz 12559 BLAKE2B d1a32d602c00d76717e8e6cdf8d376dca12f9f55f9375bb0b8ea781cf923cfb90789cc011a3ab33960339ced3c05c668f6c6ec6e5b33ca89f7eda27c47789639 SHA512 e3b5190850bd4d579934bd5825db2b8bde5a46158862ec66b8604999344138477c0fb3fad34dc186ed9dd67dfbdcacf12763f76adbdfbd0cc4dbf6b51ad53bc7
+EBUILD cadubi-1.3.ebuild 574 BLAKE2B 690a332da44371b7fab741801b9cc0465962db1d5a6b2e51e53688a06f3a3c4ebfd70a4282921aa174839de0de3c05cbc81864b91d6f59fbd6d82dbb3a4342ba SHA512 804928407e3d0e042b1b1395720f373992a21c2037066771d1480b3cc3079c38e22ecad4101b55124f2c2a277e16e9f24bf741bb0df32f146d509b78bb303be0
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-misc/cadubi/cadubi-1.3.ebuild b/app-misc/cadubi/cadubi-1.3.ebuild
new file mode 100644
index 000000000000..9e51a1ee8b47
--- /dev/null
+++ b/app-misc/cadubi/cadubi-1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="An application that allows you to draw ASCII-Art images"
+HOMEPAGE="http://langworth.com/CadubiProject"
+SRC_URI="http://langworth.com/downloads/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ >=dev-perl/TermReadKey-2.21"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${P}-helpfile.patch
+}
+
+src_install() {
+ dobin cadubi
+ insinto /usr/$(get_libdir)/${PN}
+ doins help.txt
+ dodoc README
+}
diff --git a/app-misc/cadubi/files/cadubi-1.3-helpfile.patch b/app-misc/cadubi/files/cadubi-1.3-helpfile.patch
new file mode 100644
index 000000000000..fd54d5c8bfb1
--- /dev/null
+++ b/app-misc/cadubi/files/cadubi-1.3-helpfile.patch
@@ -0,0 +1,11 @@
+--- a/cadubi.orig 2004-03-29 22:36:24.280138064 +0200
++++ b/cadubi 2004-03-29 22:39:34.473224320 +0200
+@@ -18,7 +18,7 @@
+ # (sorry guys, i wrote this years before i had the remotest clue as to
+ # what the hell i was doing)
+ use FindBin qw($Bin);
+-$HELPFILE = "$Bin/help.txt";
++$HELPFILE = "$Bin/../lib/cadubi/help.txt";
+
+ # other stuff
+ $DEBUG = 0;
diff --git a/app-misc/cadubi/metadata.xml b/app-misc/cadubi/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/cadubi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>