Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11720
Signed-off-by: Aaron Bauman <bman@gentoo.org>
-DIST cproto-4_7e.tgz 145919 BLAKE2B 97e3b3bf3b282299d177bf2ea8548f91f8dc6432671b93187d91fc00ca02807f5d3a370cc563cbb46fa163f23fe5ff034d9e148e6621eaf87f7e9658e925c6fc SHA512 c9a1da8e19d85600109127e2de079cff5e66e51f0f3220f9a69e72e720ed6d745ef456b3a645bbb4755073c6ce59411d0137d9012da545736e92380f41c83985
+DIST cproto-4.7e.tgz 145919 BLAKE2B 97e3b3bf3b282299d177bf2ea8548f91f8dc6432671b93187d91fc00ca02807f5d3a370cc563cbb46fa163f23fe5ff034d9e148e6621eaf87f7e9658e925c6fc SHA512 c9a1da8e19d85600109127e2de079cff5e66e51f0f3220f9a69e72e720ed6d745ef456b3a645bbb4755073c6ce59411d0137d9012da545736e92380f41c83985
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=0
-MY_PV="4_7e"
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${MY_P}
-
DESCRIPTION="Generate C function prototypes from C source code"
-HOMEPAGE="http://invisible-island.net/cproto/"
-SRC_URI="ftp://invisible-island.net/cproto/${MY_P}.tgz"
+HOMEPAGE="https://invisible-island.net/cproto/"
+SRC_URI="ftp://ftp.invisible-island.net/cproto//${P}.tgz"
LICENSE="public-domain"
SLOT="0"
virtual/yacc"
RDEPEND=""
+S=${WORKDIR}/${P/./_}
+
src_install() {
dobin cproto || die
doman cproto.1