mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
27 lines
503 B
Bash
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
|
|
}
|