void-packages/srcpkgs/ipp-usb/template

27 lines
784 B
Bash

# Template file for 'ipp-usb'
pkgname=ipp-usb
version=0.9.22
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=57f9bea4b41deb0f43957e24b3cf3a3a71050238abaea64d916b2e9a294d7aaf
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
}