Date: Wednesday, August 10, 2022 @ 18:57:38 Author: andyrtr Revision: 452527
archrelease: copy trunk to extra-x86_64 Added: lprint/repos/extra-x86_64/PKGBUILD (from rev 452526, lprint/trunk/PKGBUILD) lprint/repos/extra-x86_64/fix-systemd-installdir.patch (from rev 452526, lprint/trunk/fix-systemd-installdir.patch) lprint/repos/extra-x86_64/keys/ Deleted: lprint/repos/extra-x86_64/PKGBUILD lprint/repos/extra-x86_64/fix-systemd-installdir.patch ------------------------------+ PKGBUILD | 86 +++++++++++++++++++++-------------------- fix-systemd-installdir.patch | 30 +++++++------- 2 files changed, 60 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-10 18:57:24 UTC (rev 452526) +++ PKGBUILD 2022-08-10 18:57:38 UTC (rev 452527) @@ -1,41 +0,0 @@ -# Maintainer: Andreas Radke <andy...@archlinux.org> -# Contributor: WorMzy Tykashi <wormzy.tyka...@gmail.com> - -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 <michael.r.sw...@gmail.com>" -validpgpkeys=('9086C3CDC66C3F563CF8F405BE67C75EC81F3244') # "Michael R Sweet <msw...@msweet.org>" -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/PKGBUILD (from rev 452526, lprint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-10 18:57:38 UTC (rev 452527) @@ -0,0 +1,45 @@ +# Maintainer: Andreas Radke <andy...@archlinux.org> +# Contributor: WorMzy Tykashi <wormzy.tyka...@gmail.com> + +pkgname=lprint +pkgver=1.1.0 +pkgrel=2 +pkgdesc="Label Printer Application" +arch=('x86_64') +url="https://www.msweet.org/lprint/" +license=('Apache' 'custom') +depends=('pappl' 'libcups' 'libpng' 'libusb' 'pam') +options=('debug') +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.sw...@gmail.com>" +validpgpkeys=('9086C3CDC66C3F563CF8F405BE67C75EC81F3244') # "Michael R Sweet <msw...@msweet.org>" +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} + + # workaround until next release - FS#75465 / https://github.com/michaelrsweet/lprint/pull/63 + sed -i "s:/local::" "${pkgdir}"/usr/lib/systemd/system/lprint.service +} Deleted: fix-systemd-installdir.patch =================================================================== --- fix-systemd-installdir.patch 2022-08-10 18:57:24 UTC (rev 452526) +++ fix-systemd-installdir.patch 2022-08-10 18:57:38 UTC (rev 452527) @@ -1,15 +0,0 @@ ---- 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 - - Copied: lprint/repos/extra-x86_64/fix-systemd-installdir.patch (from rev 452526, lprint/trunk/fix-systemd-installdir.patch) =================================================================== --- fix-systemd-installdir.patch (rev 0) +++ fix-systemd-installdir.patch 2022-08-10 18:57:38 UTC (rev 452527) @@ -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 + +