app-crypt/monkeysphere: clean up patch file 01_default_shell
[portage-overlay.git] / app-crypt / msva-perl / msva-perl-0.9.2.ebuild
index 67c9506..6d9530b 100644 (file)
@@ -2,34 +2,26 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI="5"
 
 inherit perl-module
 
-if [[ ${PV} == "9999" ]] ; then
-       inherit git-2
-       EGIT_BRANCH="master"
-       #EGIT_REPO_URI="git://git.monkeysphere.info/${PN}"
-       EGIT_REPO_URI="git://tremily.us/monkeysphere-validation-agent.git
-               http://http-git.tremily.us/monkeysphere-validation-agent.git"
-       SRC_URI=""
-else
-       MY_P="${PN}_${PV}"
-       SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/m/${PN}/${MY_P}.orig.tar.gz"
-fi
+SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/m/msva-perl/msva-perl_${PV}.orig.tar.gz"
 
 DESCRIPTION="Monkeysphere public key validation daemon"
 HOMEPAGE="http://web.monkeysphere.info/validation-agent/"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 IUSE="X"
+DEPEND="
+       virtual/perl-Module-Build
+       "
 
-#RESTRICT="test" # ssh connection failed
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
-       perl-gcpan/Crypt-X509
+       dev-perl/Crypt-X509
        dev-perl/File-HomeDir
        dev-perl/File-ShareDir
        dev-perl/GnuPG-Interface
@@ -41,10 +33,6 @@ RDEPEND="
        dev-perl/net-server
        dev-perl/regexp-common
        "
-DEPEND="
-       app-portage/g-cpan
-       virtual/perl-Module-Build
-       "
 
 src_prepare() {
        epatch "${FILESDIR}/01_Makefile.patch"
@@ -56,9 +44,9 @@ src_prepare() {
 src_install() {
     mytargets="install doc=/usr/share/doc/${P}"
        perl-module_src_install
-       mkdir -p "${D}/etc/profile.d/"
-       cp "${FILESDIR}/10-msva-perl.sh" "${D}/etc/profile.d/"
-       chmod 0555  "${D}/etc/profile.d/10-msva-perl.sh"
+       mkdir -p "${D}/etc/profile.d/" || die
+       cp "${FILESDIR}/10-msva-perl.sh" "${D}/etc/profile.d/" || die
+       chmod 0555  "${D}/etc/profile.d/10-msva-perl.sh" || die
 }
 
 pkg_postinst()