void-packages/srcpkgs/ipp-usb/template
2021-04-19 10:22:29 -03:00

26 lines
784 B
Bash

# Template file for 'ipp-usb'
pkgname=ipp-usb
version=0.9.17
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=4c1fbd89f7d971eed8447cd80d3e4723edd968043cb2fa4c490ac305720156c3
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
}