Date: Tuesday, January 4, 2022 @ 12:36:07
  Author: andyrtr
Revision: 433407

archrelease: copy trunk to extra-x86_64

Added:
  lprint/repos/extra-x86_64/PKGBUILD
    (from rev 433406, lprint/trunk/PKGBUILD)
  lprint/repos/extra-x86_64/fix-systemd-installdir.patch
    (from rev 433406, lprint/trunk/fix-systemd-installdir.patch)
Deleted:
  lprint/repos/extra-x86_64/PKGBUILD

------------------------------+
 PKGBUILD                     |   73 +++++++++++++++++++++++------------------
 fix-systemd-installdir.patch |   15 ++++++++
 2 files changed, 56 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-01-04 12:35:57 UTC (rev 433406)
+++ PKGBUILD    2022-01-04 12:36:07 UTC (rev 433407)
@@ -1,32 +0,0 @@
-# Maintainer: Andreas Radke <[email protected]>
-# Contributor: WorMzy Tykashi <[email protected]>
-
-pkgname=lprint
-pkgver=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 
<[email protected]>"
-sha256sums=('52a34d4a17accdc90aa32a29faf8da3493c274d838fdb86f0034ceaac83b5a32'
-            'SKIP')
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-   cd "$pkgname-$pkgver"
-   #make -k check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  # add license + exception
-  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" {LICENSE,NOTICE}
-}

Copied: lprint/repos/extra-x86_64/PKGBUILD (from rev 433406, 
lprint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-01-04 12:36:07 UTC (rev 433407)
@@ -0,0 +1,41 @@
+# Maintainer: Andreas Radke <[email protected]>
+# Contributor: WorMzy Tykashi <[email protected]>
+
+pkgname=lprint
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Label Printer Application"
+arch=('x86_64')
+url="https://www.msweet.org/lprint/";
+license=('Apache' 'custom')
+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 
<[email protected]>"
+validpgpkeys=('9086C3CDC66C3F563CF8F405BE67C75EC81F3244') # "Michael R Sweet 
<[email protected]>"
+sha256sums=('d40e353ac9f6b0de96974717255fa1df0f9655d37ef3f9a6f35b6391992daf73'
+            'SKIP'
+            '5afaf8dad1e766f0c99a27095e56face16d2eae681d576c395db5d3c3761d182')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../fix-systemd-installdir.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+   cd "$pkgname-$pkgver"
+   #make -k check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  # add license + exception
+  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" {LICENSE,NOTICE}
+}

Copied: lprint/repos/extra-x86_64/fix-systemd-installdir.patch (from rev 
433406, lprint/trunk/fix-systemd-installdir.patch)
===================================================================
--- fix-systemd-installdir.patch                                (rev 0)
+++ fix-systemd-installdir.patch        2022-01-04 12:36:07 UTC (rev 433407)
@@ -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
+ 
+ 

Reply via email to