summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-04-05 10:54:46 +0200
committerDavid Seifert <soap@gentoo.org>2022-04-05 10:54:46 +0200
commit26d3b8443847994cdd70b040bba85d9de8512f7e (patch)
tree6c6c7a619d661fe74e4ba976a587b9bd7e21e80a /net-print/hplip-plugin
parentdev-util/pycharm-community: bump to 2021.3.3 (diff)
downloadgentoo-26d3b8443847994cdd70b040bba85d9de8512f7e.tar.gz
gentoo-26d3b8443847994cdd70b040bba85d9de8512f7e.tar.bz2
gentoo-26d3b8443847994cdd70b040bba85d9de8512f7e.zip
net-print/hplip-plugin: canonical variable order
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-print/hplip-plugin')
-rw-r--r--net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild b/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild
index 354cee23d950..54c789992915 100644
--- a/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild
+++ b/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild
@@ -8,10 +8,14 @@ inherit unpacker
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
+S="${WORKDIR}"
+
LICENSE="hplip-plugin"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="orblite"
+# License does not allow us to redistribute the "source" package
+RESTRICT="mirror"
RDEPEND="
~net-print/hplip-${PV}
@@ -22,20 +26,14 @@ RDEPEND="
virtual/libusb:0
)
"
-DEPEND=""
-
-S=${WORKDIR}
HPLIP_HOME=/usr/share/hplip
# Binary prebuilt package
QA_PREBUILT="${HPLIP_HOME}/*.so"
-# License does not allow us to redistribute the "source" package
-RESTRICT="mirror"
-
src_install() {
- local hplip_arch
+ local hplip_arch plugin
case "${ARCH}" in
amd64) hplip_arch="x86_64" ;;
arm) hplip_arch="arm32" ;;