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

Andreas Radke andyrtr at archlinux.org
Fri Sep 18 22:00:15 UTC 2020


    Date: Friday, September 18, 2020 @ 22:00:15
  Author: andyrtr
Revision: 396289

archrelease: copy trunk to extra-x86_64

Added:
  lprint/repos/extra-x86_64/
  lprint/repos/extra-x86_64/PKGBUILD
    (from rev 396288, lprint/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: lprint/repos/extra-x86_64/PKGBUILD (from rev 396288, lprint/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-09-18 22:00:15 UTC (rev 396289)
@@ -0,0 +1,32 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: WorMzy Tykashi <wormzy.tykashi at gmail.com>
+
+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 <michael.r.sweet at gmail.com>"
+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}
+}


More information about the arch-commits mailing list