[arch-commits] Commit in ipp-usb/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Fri Sep 18 15:33:48 UTC 2020


    Date: Friday, September 18, 2020 @ 15:33:48
  Author: andyrtr
Revision: 396280

upgpkg: ipp-usb 0.9.13-2: put config file under backup control; run tests

Modified:
  ipp-usb/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-18 12:31:54 UTC (rev 396279)
+++ PKGBUILD	2020-09-18 15:33:48 UTC (rev 396280)
@@ -2,14 +2,16 @@
 
 pkgname=ipp-usb
 pkgver=0.9.13
-pkgrel=1
+pkgrel=2
 pkgdesc="allows using the IPP protocol, normally designed for network printers, to be used with USB printers as well"
 arch=('x86_64')
 url="https://github.com/OpenPrinting/ipp-usb"
 license=('custom: BSD')
-# ToDo: package goipp ?
 depends=('avahi' 'libusb')
 makedepends=('go')
+backup=(etc/ipp-usb/ipp-usb.conf)
+# ToDo: package goipp and fix ipp-usb - keeps downloading goipp even if present in build system
+#makedepends=('go' 'golang-github-openprinting-goipp')
 source=("$pkgname-$pkgver.tar.gz"::https://github.com/OpenPrinting/ipp-usb/archive/$pkgver.tar.gz
         systemd-service.patch)
 sha256sums=('f98c582d529f811a74c814596e74af229022f2bd62fcb2fcccf82e86eb483a2d'
@@ -35,6 +37,11 @@
 	make
 }
 
+check() {
+	cd "$pkgname-$pkgver"
+	go test
+}
+
 package() {
 	cd "$pkgname-$pkgver"
 	# https://github.com/OpenPrinting/ipp-usb/blob/master/Makefile



More information about the arch-commits mailing list