void-packages/srcpkgs/ipp-usb/template
2021-05-22 16:06:34 -03:00

26 lines
784 B
Bash

# Template file for 'ipp-usb'
pkgname=ipp-usb
version=0.9.19
revision=1
build_style=go
go_import_path="github.com/OpenPrinting/ipp-usb"
conf_files="/etc/ipp-usb/ipp-usb.conf"
hostmakedepends="pkg-config"
makedepends="avahi-libs-devel libusb-devel"
depends="avahi"
short_desc="Allows using the IPP protocol over usb connections"
maintainer="Philipp David <pd@3b.pm>"
license="BSD-2-Clause"
homepage="https://github.com/OpenPrinting/ipp-usb"
distfiles="https://github.com/OpenPrinting/ipp-usb/archive/$version.tar.gz"
checksum=06855b4da0bcaad430a42534c117a3f3224c4f6b0f6321da898e3422ae97ae15
post_install() {
vsv ipp-usb
vman ipp-usb.8
vdoc README.md
vdoc ${FILESDIR}/README.voidlinux
vdoc systemd-udev/71-ipp-usb.rules
vinstall ipp-usb.conf 644 /etc/ipp-usb
vlicense LICENSE
}