#!/bin/shPKGNAME=hplip-pluginSUPPORTEDARCHES="x86_64 x86 armhf aarch64"VERSION="$2"DESCRIPTION='Binary plugin for HPs hplip printer driver library'URL="https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html".$(dirname$0)/common.shepm installed hplip || fatal "hplip package is not installed"# for current hplip packageif["$VERSION"="*"];thenVERSION="$(epm print version for package hplip)"fi# https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-$VERSION-plugin.runPKGURL="https://developers.hp.com/sites/default/files/hplip-$VERSION-plugin.run"