diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-01 03:04:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-01 03:04:39 +0000 |
commit | 407525b571b48cfd65e1ad7a02d250a927c967c9 (patch) | |
tree | 844bea44d85dc7218f54970af1c42cc9d55c3f1a /net-mail/randomsig | |
parent | 89c6c06b8c42107dd231687a1012354e7d3039fc (diff) |
gentoo resync : 01.12.2017
Diffstat (limited to 'net-mail/randomsig')
-rw-r--r-- | net-mail/randomsig/Manifest | 4 | ||||
-rw-r--r-- | net-mail/randomsig/randomsig-1.10.0.ebuild | 38 |
2 files changed, 22 insertions, 20 deletions
diff --git a/net-mail/randomsig/Manifest b/net-mail/randomsig/Manifest index f518a9fe52bf..605fbce17376 100644 --- a/net-mail/randomsig/Manifest +++ b/net-mail/randomsig/Manifest @@ -1,3 +1,3 @@ -DIST randomsig-v1.10.0.tar.gz 24910 SHA256 2e01bfbbc7f5dfe4e1f773fbfa2209b1e7f4074997be42204abbc6bf045ef9c6 SHA512 eb47bd017dee819e7b7151a47f5aca03e688e3aa9a4b9bf4882a4df51c6fcc1880e382b02d68d0c1d3a773b1179d5abb0782ec4d6a7649be226151e9e2579408 WHIRLPOOL ddae4cf9101cfd0406945191c0565c5315775f8691b36007a5b6175ad1977ed1ee9755a326839965a72102e944f8a58050ea6fc6e6b63274415c20a6896ef167 -EBUILD randomsig-1.10.0.ebuild 862 BLAKE2B 8aa8808f6699213f777808ab995bf740ab7e812ee33e38f40a8f916a04aaad841fda3cd57739ede4dc5cf94ec134ee63471c11b4217d02fa15775259cb398bcc SHA512 94ab7fcba7f7282c2b9ac6a428e13b9aa304383dd3d294dbc0b61fef7ac5b92a3ae5be1f83651b1d88518785fb17783a58ce990c4030ca2bd745ae3d1af810a4 +DIST randomsig-v1.10.0.tar.gz 24910 BLAKE2B 13bfbf39cea7c7d348f5a91dd5700a2e91a93e574e6f1c12afd86d72c7868fd1a89123f52c897d9fff0b765e968980bee69927435a1b24f7f15e81b5f6a025ab SHA512 eb47bd017dee819e7b7151a47f5aca03e688e3aa9a4b9bf4882a4df51c6fcc1880e382b02d68d0c1d3a773b1179d5abb0782ec4d6a7649be226151e9e2579408 +EBUILD randomsig-1.10.0.ebuild 799 BLAKE2B 634102733738a72666c35978a998c3326ec9d8ba00ccf9340be1b00e674fdd0d67a6d48bf93662e9f18abf2118976c52249c601604a1b84111a67120943ce5eb SHA512 b6088411df0d655d4fcacf9c9d9b4657b95e1146856b2815b78718cff8d0b7abf0779475e3092fbf8a8794ea4399fe56ee2a92b1e2434884177fb9036e0d0fed MISC metadata.xml 240 BLAKE2B eeb6099e7ebc29b81588528b970830d2461fa16783bda673672d405615e46d240dcd806b3d18b6207ef8e5365f8860aa20c304394c3f5b267c5ea4dc739cb94b SHA512 97824dbce22630efb21e647b55212b7a8a19d8e38b5bf05cb0b8078530bbbaaf4dc91284e2a11beab7dfcfb779df82b87b49d11a746c7a4f6dc71f2fda8942db diff --git a/net-mail/randomsig/randomsig-1.10.0.ebuild b/net-mail/randomsig/randomsig-1.10.0.ebuild index f3b6f0000e80..7ef507fc5e15 100644 --- a/net-mail/randomsig/randomsig-1.10.0.ebuild +++ b/net-mail/randomsig/randomsig-1.10.0.ebuild @@ -1,34 +1,36 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=6 + MY_P=${PN}-v${PV} -S=${WORKDIR}/${MY_P} + DESCRIPTION="randomsig - perl script for generating random .signature files" HOMEPAGE="http://suso.suso.org/programs/randomsig/" -DEPEND="dev-lang/perl" SRC_URI="http://suso.suso.org/programs/randomsig/downloads/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 s390 sparc x86" -IUSE="" - -src_unpack() { - unpack ${A} - cd ${S} - cp Makefile Makefile.orig - cp randomsig randomsig.orig - sed -e "s:/usr/local/bin:/usr/bin:" \ - -e "s:/usr/local/etc:/etc:" \ - Makefile.orig > Makefile - - sed -e "s:/usr/local/etc:/etc:" \ - randomsig.orig > randomsig + +RDEPEND="dev-lang/perl" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + sed -e "s:/usr/local/bin:${EPREFIX}/usr/bin:" \ + -e "s:/usr/local/etc:${EPREFIX}/etc:" \ + -i Makefile || die + sed -e "s:/usr/local/etc:${EPREFIX}/etc:" \ + -i randomsig || die } -src_install () { +src_install() { dobin randomsig - dodoc README BUGS LICENSE MANIFEST COPYING TODO + einstalldocs insinto /etc/randomsig doins .randomsigrc .sigquotes .sigcancel .sigread |