dev-util/shflags: moved to github
authorJustin Lecher <jlec@gentoo.org>
Fri, 28 Aug 2015 12:21:06 +0000 (14:21 +0200)
committerJustin Lecher <jlec@gentoo.org>
Fri, 28 Aug 2015 12:21:10 +0000 (14:21 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-util/shflags/shflags-1.0.3.ebuild

index e16aa6f7ab912ab07e073a9dff8d29057a0866ce..e59fe48c496e582064f8d6ed68a93c7cdb34e090 100644 (file)
@@ -1,12 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI=5
 
 DESCRIPTION="Command-line flags module for Unix shell scripts"
-HOMEPAGE="https://code.google.com/p/shflags/"
-SRC_URI="https://shflags.googlecode.com/files/${P}.tgz"
+HOMEPAGE="https://github.com/kward/shflags"
+SRC_URI="https://github.com/kward/shflags/archive/${PV}.tar.gz -> ${P}.tgz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
@@ -14,7 +14,7 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
 IUSE="examples"
 
 src_test() {
-       cd src
+       cd src || die
        ./shflags_test.sh || die
 }