diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-misc/cowsay |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/cowsay')
-rw-r--r-- | games-misc/cowsay/Manifest | 8 | ||||
-rw-r--r-- | games-misc/cowsay/cowsay-3.03-r2.ebuild | 41 | ||||
-rw-r--r-- | games-misc/cowsay/files/cowsay-3.03-mech.patch | 18 | ||||
-rw-r--r-- | games-misc/cowsay/files/cowsay-3.03-tongue.patch | 10 | ||||
-rw-r--r-- | games-misc/cowsay/files/cowsay-3.03-utf8.patch | 17 | ||||
-rw-r--r-- | games-misc/cowsay/metadata.xml | 8 |
6 files changed, 102 insertions, 0 deletions
diff --git a/games-misc/cowsay/Manifest b/games-misc/cowsay/Manifest new file mode 100644 index 000000000000..1d0a5e1bf065 --- /dev/null +++ b/games-misc/cowsay/Manifest @@ -0,0 +1,8 @@ +AUX cowsay-3.03-mech.patch 490 SHA256 e41ec32c25afd5e8ed8708cc35b228646e0d2d793f91d27327119850b554d6e2 SHA512 abaa76dee0c896100bab79a68c25720bb8449af77990ced74d89d271e22fd8fa5cb1b4586ef79e4c12a21d7091164d8c19a1162e78636874864a3fafa3a8df1d WHIRLPOOL 0c2ba09bafceb2a2fd0f97ee774fb641bad0764b6aab27a8a0641695ae839fb8f5a60f3d76287fcad926e5fe9620e7fac72556fd6e6410d167e2a28fd4e3eb10 +AUX cowsay-3.03-tongue.patch 358 SHA256 07a01f73455a00c50760cf1ef9e17a6483b0036ac23fb51d978d38deacdd0f9e SHA512 bce27566383debd01f00c40e867dff9d405304f70e72de9ca4c2611c6242da9919c5a74b6ac3d0632ad7c928ef578f8bb78d125ed6141a0adf3f7498731f8e6f WHIRLPOOL 9c4c77ded59ce3aef0f6a0dd220fd2acbe64c7c8717041275bae0fa0f76c762751f957330e8e01a8fdf822744d58296e47b066134b05c5bf1208e54addfc0396 +AUX cowsay-3.03-utf8.patch 454 SHA256 5400fd73294e86f1d58098276e57bf74e3688ce22f07f1df453dd903eda397b1 SHA512 4519c799311b5e31b3299fc66285ad0f9bfd2148dbfb34411437d37cda37d7cea8e823c8f99b0a0ef3652bb839f09d05fd5c5c727db4b091c6ed86d335ed6ece WHIRLPOOL aa3773f75cd371422be19e448ae703231f9314b7c9f22950290e4c0bde7a068c9d54cda4fd7222342ec5d1fa3274626de7bb5cb207f3911533ea9a153ac02c3c +DIST cowsay-3.03.tar.gz 15189 SHA256 0b8672a7ac2b51183780db72618b42af8ec1ce02f6c05fe612510b650540b2af SHA512 8e91d0c929c2e0743106c08643029a943d0684343ff44ad8ff172636a8f47fd25ee8bc4d108ccfe308c756d2871b956cceef0c406800615ed0dc1e1e24648219 WHIRLPOOL 08b1f7818c073390dd4061e955888d5344b8d091b1a7ec12eeeb9d584b084e3a3e630fa03a6da3c80721f59e5d8ba10cffc677b892304fc900136fed110e7e87 +EBUILD cowsay-3.03-r2.ebuild 1133 SHA256 5d7838852f660e71aabde86fb6360f153d1c79c97e29ff33adab5ed02aba5cb8 SHA512 3946b7176986ea7340ae796e8766b0b253240791188845858e68e98c85e57b1aa1aaabfc50b1fe8d8f1b348037500e66d902b3e1ab34cc5b48af76e10ecb9484 WHIRLPOOL 0335a65d60ee237d76711acb4c0f4d38d9ec7e9f47d39d6167bc428822149e6b2c80cb536cbd6e8c73f916707ea800b10b3f7aac81da7c5fcf481b21cd7bab58 +MISC ChangeLog 2527 SHA256 7d2f369438fff601fa9e214a5b5e5b98934f024f79f24070d6c3614c903a234b SHA512 0e91b690ebf07285d00fbc9982dae6b53579a4c35ea24bfa8d5ff146812ce568a095526cebb2b29a8b6fc72db11717739f203d37288ee71250b839c47b8ead5b WHIRLPOOL 3f7c686fe936a8fad3d218a17b59b7bc150ec67a383ba3331051d96d6611763442debd697528c5b8715b0b785cf5d4404cccb9ebc3491481beba493e2559d7de +MISC ChangeLog-2015 4541 SHA256 e2dbf5fe0b1567fc9b7674b58b2a24ce2d0759f37b92a5721cb19e6625567b64 SHA512 dd99fcaf251dab970d462542a7552c15e8120418018d2fd0362630abbda2699005d85e7787b33578cffa1de9348aca8eabd44ff8e779b9c4dc3b48834c0ab4d8 WHIRLPOOL 755b60605a5f136c3c55f972af420903350b74235ac5416ba34ac6151690aa4d8a1ac6720af79a0c6ca604dd9ade98710a90dfaa355cdfbd79c36f350db00c8c +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-misc/cowsay/cowsay-3.03-r2.ebuild b/games-misc/cowsay/cowsay-3.03-r2.ebuild new file mode 100644 index 000000000000..c81db91dee61 --- /dev/null +++ b/games-misc/cowsay/cowsay-3.03-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="configurable talking ASCII cow (and other characters)" +HOMEPAGE="http://www.nog.net/~tony/warez/cowsay.shtml" +SRC_URI="http://www.nog.net/~tony/warez/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ~mips ppc64 x86 ~x86-fbsd ~x64-solaris" +IUSE="" + +RDEPEND=">=dev-lang/perl-5" + +src_prepare() { + sed -i \ + -e "1 c\#!${EPREFIX}/usr/bin/perl"\ + -e 's/\$version/\$VERSION/g'\ + -e "s:%PREFIX%/share/cows:${EPREFIX}/usr/share/${P}/cows:" \ + -e '/getopts/ i\$Getopt::Std::STANDARD_HELP_VERSION=1;' cowsay \ + || die "sed cowsay failed" + sed -i \ + -e "s|%PREFIX%/share/cows|${EPREFIX}/usr/share/${P}/cows|" cowsay.1 \ + || die "sed cowsay.1 failed" + epatch \ + "${FILESDIR}/${P}"-tongue.patch \ + "${FILESDIR}/${P}"-mech.patch \ + "${FILESDIR}/${P}"-utf8.patch +} + +src_install() { + dobin cowsay + doman cowsay.1 + dosym cowsay /usr/bin/cowthink + dosym cowsay.1 /usr/share/man/man1/cowthink.1 + dodir /usr/share/${P}/cows + cp -r cows "${ED}"/usr/share/${P}/ || die "cp failed" +} diff --git a/games-misc/cowsay/files/cowsay-3.03-mech.patch b/games-misc/cowsay/files/cowsay-3.03-mech.patch new file mode 100644 index 000000000000..10478ed6651d --- /dev/null +++ b/games-misc/cowsay/files/cowsay-3.03-mech.patch @@ -0,0 +1,18 @@ +--- cows/mech-and-cow 2009-06-21 03:09:36.000000000 +0300 ++++ cows/mech-and-cow.cow 2010-08-22 01:04:02.670000262 +0300 +@@ -1,3 +1,5 @@ ++$the_cow = <<EOC; ++${thouts} + ,-----. + | | + ,--| |-. +@@ -14,8 +16,4 @@ + (__)\ )\/\ /' / | `i + ||----w | ___,;`----'.___L_,-'`\__ + || || i_____;----\.____i""\____\ +- +- +- +- +- ++EOC diff --git a/games-misc/cowsay/files/cowsay-3.03-tongue.patch b/games-misc/cowsay/files/cowsay-3.03-tongue.patch new file mode 100644 index 000000000000..517e96709c23 --- /dev/null +++ b/games-misc/cowsay/files/cowsay-3.03-tongue.patch @@ -0,0 +1,10 @@ +--- cows/head-in.cow.old 2007-05-09 20:28:08.000000000 +0200 ++++ cows/head-in.cow 2007-05-09 20:29:32.000000000 +0200 +@@ -7,6 +7,6 @@ + ^__^ / + ($eyes)\\_______/ _________ + (__)\\ )=( ____|_ \\_____ +- $tongue ||----w | \\ \\ \\_____ | ++ $tongue ||----w | \\ \\ \\_____ | + || || || || + EOC diff --git a/games-misc/cowsay/files/cowsay-3.03-utf8.patch b/games-misc/cowsay/files/cowsay-3.03-utf8.patch new file mode 100644 index 000000000000..6aed9c149e3d --- /dev/null +++ b/games-misc/cowsay/files/cowsay-3.03-utf8.patch @@ -0,0 +1,17 @@ +diff -Naur cowsay-3.03.orig//cowsay cowsay-3.03/cowsay +--- cowsay-3.03.orig//cowsay 2011-04-21 16:36:03.581377699 +0200 ++++ cowsay-3.03/cowsay 2011-04-21 16:37:07.968430100 +0200 +@@ -12,6 +12,13 @@ + use Getopt::Std; + use Cwd; + ++if (${^UTF8LOCALE}) { ++ binmode STDIN, ':utf8'; ++ binmode STDOUT, ':utf8'; ++ require Encode; ++ eval { $_ = Encode::decode_utf8($_,1) } for @ARGV; ++} ++ + $VERSION = "3.03"; + $progname = basename($0); + $eyes = "oo"; diff --git a/games-misc/cowsay/metadata.xml b/games-misc/cowsay/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-misc/cowsay/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="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |