[arch-commits] Commit in lprint/trunk (PKGBUILD fix-systemd-installdir.patch)
Andreas Radke
andyrtr at gemini.archlinux.org
Tue Jan 4 12:35:57 UTC 2022
Date: Tuesday, January 4, 2022 @ 12:35:57
Author: andyrtr
Revision: 433406
upgpkg: lprint 1.1.0-1: upstream update 1.1.0
Added:
lprint/trunk/fix-systemd-installdir.patch
Modified:
lprint/trunk/PKGBUILD
------------------------------+
PKGBUILD | 21 +++++++++++++++------
fix-systemd-installdir.patch | 15 +++++++++++++++
2 files changed, 30 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-04 10:49:39 UTC (rev 433405)
+++ PKGBUILD 2022-01-04 12:35:57 UTC (rev 433406)
@@ -2,17 +2,26 @@
# Contributor: WorMzy Tykashi <wormzy.tykashi at gmail.com>
pkgname=lprint
-pkgver=1.0
+pkgver=1.1.0
pkgrel=1
pkgdesc="Label Printer Application"
arch=('x86_64')
url="https://www.msweet.org/lprint/"
license=('Apache' 'custom')
-depends=('libcups' 'libpng' 'libusb' 'pam')
-source=("https://github.com/michaelrsweet/lprint/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
-validpgpkeys=('845464660B686AAB36540B6F999559A027815955') # "Michael R Sweet <michael.r.sweet at gmail.com>"
-sha256sums=('52a34d4a17accdc90aa32a29faf8da3493c274d838fdb86f0034ceaac83b5a32'
- 'SKIP')
+depends=('pappl' 'libcups' 'libpng' 'libusb' 'pam')
+source=("https://github.com/michaelrsweet/lprint/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ fix-systemd-installdir.patch)
+#validpgpkeys=('845464660B686AAB36540B6F999559A027815955') # "Michael R Sweet <michael.r.sweet at gmail.com>"
+validpgpkeys=('9086C3CDC66C3F563CF8F405BE67C75EC81F3244') # "Michael R Sweet <msweet at msweet.org>"
+sha256sums=('d40e353ac9f6b0de96974717255fa1df0f9655d37ef3f9a6f35b6391992daf73'
+ 'SKIP'
+ '5afaf8dad1e766f0c99a27095e56face16d2eae681d576c395db5d3c3761d182')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i ../fix-systemd-installdir.patch
+}
+
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
Added: fix-systemd-installdir.patch
===================================================================
--- fix-systemd-installdir.patch (rev 0)
+++ fix-systemd-installdir.patch 2022-01-04 12:35:57 UTC (rev 433406)
@@ -0,0 +1,15 @@
+--- lprint-1.1.0/Makefile.in 2022-01-04 13:28:46.000000000 +0100
++++ lprint-1.1.0/Makefile.in.new 2022-01-04 13:30:11.355829642 +0100
+@@ -131,9 +131,9 @@
+ $(INSTALL) -d -m 755 $(BUILDROOT)/Library/LaunchDaemons; \
+ $(INSTALL) -c -m 644 org.msweet.lprint.plist $(BUILDROOT)/Library/LaunchDaemons; \
+ else \
+- echo "Installing systemd service to $(BUILDROOT)$(sysconfdir)/systemd/system..."; \
+- $(INSTALL) -d -m 755 $(BUILDROOT)$(sysconfdir)/systemd/system; \
+- $(INSTALL) -c -m 644 lprint.service $(BUILDROOT)$(sysconfdir)/systemd/system; \
++ echo "Installing systemd service to $(BUILDROOT)$(libdir)/systemd/system..."; \
++ $(INSTALL) -d -m 755 $(BUILDROOT)$(libdir)/systemd/system; \
++ $(INSTALL) -c -m 644 lprint.service $(BUILDROOT)$(libdir)/systemd/system; \
+ fi
+
+
More information about the arch-commits
mailing list