Files
guru/app-misc/pup-bin/pup-bin-0.4.0.ebuild
Simon van der Maas f938068c43 app-misc/pup-bin: new package
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Simon van der Maas <svdm-gentoo@protonmail.com>
2021-02-21 13:03:52 +01:00

25 lines
477 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"
src_configure() {
unpack_zip "${DISTDIR}"/pup_v"${PV}"_linux_amd64.zip
}
src_install() {
dobin pup
}