Files
guru/app-misc/pup-bin/pup-bin-0.4.0.ebuild
Andrew Ammerlaan cdeaa46e05 app-misc/pup-bin: bdep on unzip for zip file
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-03-28 11:30:13 +02:00

27 lines
503 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit unpacker
DESCRIPTION="Parsing HTML at the command line"
HOMEPAGE="https://github.com/ericchiang/pup"
SRC_URI="https://github.com/ericchiang/pup/releases/download/v${PV}/pup_v${PV}_linux_amd64.zip"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-arch/unzip"
src_configure() {
unpack_zip "${DISTDIR}"/pup_v"${PV}"_linux_amd64.zip
}
src_install() {
dobin pup
}