[arch-commits] Commit in ipp-usb/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Mon Jul 13 09:24:51 UTC 2020


    Date: Monday, July 13, 2020 @ 09:24:50
  Author: andyrtr
Revision: 391857

archrelease: copy trunk to extra-x86_64

Added:
  ipp-usb/repos/extra-x86_64/PKGBUILD
    (from rev 391856, ipp-usb/trunk/PKGBUILD)
Deleted:
  ipp-usb/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-13 09:24:44 UTC (rev 391856)
+++ PKGBUILD	2020-07-13 09:24:50 UTC (rev 391857)
@@ -1,48 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=ipp-usb
-pkgver=0.9.8
-pkgrel=1
-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')
-source=("$pkgname-$pkgver.tar.gz"::https://github.com/OpenPrinting/ipp-usb/archive/$pkgver.tar.gz)
-sha256sums=('b630434bcfb99549f18ef80608626d82129bed4f0939fad1dc1aca1c721437f3')
-
-prepare() {
-        cd "$pkgname-$pkgver"
-	# fix Makefile
-	sed -i "s/sbin/bin/g" Makefile
-}
-
-build() {
-	cd "$pkgname-$pkgver"
-	export CGO_CPPFLAGS="${CPPFLAGS}"
-	export CGO_CFLAGS="${CFLAGS}"
-	export CGO_CXXFLAGS="${CXXFLAGS}"
-	export CGO_LDFLAGS="${LDFLAGS}"
-	export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-	#go build -o "$pkgname" .
-	make
-}
-
-package() {
-	cd "$pkgname-$pkgver"
-	# https://github.com/OpenPrinting/ipp-usb/blob/master/Makefile
-	# DESTDIR and PREFIX are fully f... up so do it our own
-	#make DESTDIR="${pkgdir}" install
-
-	install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
-	install -Dm644 ipp-usb.conf "$pkgdir"/etc/ipp-usb/ipp-usb.conf
-	install -Dm644 systemd-udev/71-ipp-usb.rules "$pkgdir"/usr/lib/udev/rules.d/71-ipp-usb.rules
-	install -Dm644 systemd-udev/ipp-usb.service "$pkgdir"/usr/lib/systemd/system/ipp-usb.service
-	install -Dm644 ipp-usb.1 "$pkgdir"/usr/share/man/man1/ipp-usb.1
-
-	
-	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: ipp-usb/repos/extra-x86_64/PKGBUILD (from rev 391856, ipp-usb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-13 09:24:50 UTC (rev 391857)
@@ -0,0 +1,48 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ipp-usb
+pkgver=0.9.10
+pkgrel=1
+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')
+source=("$pkgname-$pkgver.tar.gz"::https://github.com/OpenPrinting/ipp-usb/archive/$pkgver.tar.gz)
+sha256sums=('e1b14618f22dd75d92ebd59296e2bd237208effb2083ce1c2162895d9a1cda17')
+
+prepare() {
+        cd "$pkgname-$pkgver"
+	# fix Makefile
+	sed -i "s/sbin/bin/g" Makefile
+}
+
+build() {
+	cd "$pkgname-$pkgver"
+	export CGO_CPPFLAGS="${CPPFLAGS}"
+	export CGO_CFLAGS="${CFLAGS}"
+	export CGO_CXXFLAGS="${CXXFLAGS}"
+	export CGO_LDFLAGS="${LDFLAGS}"
+	export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+	#go build -o "$pkgname" .
+	make
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+	# https://github.com/OpenPrinting/ipp-usb/blob/master/Makefile
+	# DESTDIR and PREFIX are fully f... up so do it our own
+	#make DESTDIR="${pkgdir}" install
+
+	install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+	install -Dm644 ipp-usb.conf "$pkgdir"/etc/ipp-usb/ipp-usb.conf
+	install -Dm644 systemd-udev/71-ipp-usb.rules "$pkgdir"/usr/lib/udev/rules.d/71-ipp-usb.rules
+	install -Dm644 systemd-udev/ipp-usb.service "$pkgdir"/usr/lib/systemd/system/ipp-usb.service
+	install -Dm644 ipp-usb.8 "$pkgdir"/usr/share/man/man8/ipp-usb.8
+
+	
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list