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

Andreas Radke andyrtr at archlinux.org
Thu Apr 22 06:16:58 UTC 2021


    Date: Thursday, April 22, 2021 @ 06:16:57
  Author: andyrtr
Revision: 413010

archrelease: copy trunk to extra-x86_64

Added:
  pappl/repos/extra-x86_64/PKGBUILD
    (from rev 413009, pappl/trunk/PKGBUILD)
Deleted:
  pappl/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 50 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-22 06:16:49 UTC (rev 413009)
+++ PKGBUILD	2021-04-22 06:16:57 UTC (rev 413010)
@@ -1,58 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=pappl
-#https://github.com/michaelrsweet/pappl/commits/master
-#_commit=0985256fb631ddd9b528795a0635af2b20828ddb # master 2020-11-30 = 1.0rc1
-pkgver=1.0.2
-pkgrel=1
-pkgdesc="a simple C-based framework/library for developing CUPS Printer Applications"
-arch=('x86_64')
-url="https://www.msweet.org/pappl/"
-license=('Apache' 'custom')
-depends=('libcups' 'libjpeg-turbo' 'pam')
-makedepends=('git')
-source=(#git+"https://github.com/michaelrsweet/pappl.git#commit=$_commit"
-        https://github.com/michaelrsweet/pappl/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha256sums=('88a7a5603ccf0986da6059e3885d5a5838fa4f0306e4ce33e479d1194a3ae68d'
-            'SKIP')
-validpgpkeys=('845464660B686AAB36540B6F999559A027815955') # "Michael R Sweet <michael.r.sweet at gmail.com>"
-
-#pkgver() {
-#  cd $pkgname
-#  git describe --tags | sed 's/-/+/g' | sed 's/v//'
-#}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  # The build system uses only DSOFLAGS but not LDFLAGS to build some libraries.
-  export DSOFLAGS=${LDFLAGS}
-
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  #make check
-
-  # there's currently  no real test suite, 
-  # the tool is only useful outside the fakeroot envireonment - when packaging it crashes:
-  # testpappl: client.c:771: avahi_client_get_host_name_fqdn: Assertion `client' failed.
-  # /startdir/PKGBUILD: line 43:  1878 Aborted                 (core dumped) ./testsuite/testpappl
-
-  # run it later outside fakeroot!
-  #./testsuite/testpappl 
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-
-  # install the testing tool
-  install -Dm755 testsuite/testpappl -t "$pkgdir"/usr/bin
-  # install docs
-  install -Dm644 doc/* -t "$pkgdir"/usr/share/doc/$pkgname
-  # add license + exception
-  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" {LICENSE,NOTICE}
-}

Copied: pappl/repos/extra-x86_64/PKGBUILD (from rev 413009, pappl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-22 06:16:57 UTC (rev 413010)
@@ -0,0 +1,50 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=pappl
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="a simple C-based framework/library for developing CUPS Printer Applications"
+arch=('x86_64')
+url="https://www.msweet.org/pappl/"
+license=('Apache' 'custom')
+depends=('libcups' 'libjpeg-turbo' 'pam')
+makedepends=('git')
+source=(https://github.com/michaelrsweet/pappl/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha256sums=('773c97799d2c52d75b45d13cd450a3aae67d8d2a04c42eff913935daedb9a0d9'
+            'SKIP')
+validpgpkeys=('845464660B686AAB36540B6F999559A027815955') # "Michael R Sweet <michael.r.sweet at gmail.com>"
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # The build system uses only DSOFLAGS but not LDFLAGS to build some libraries.
+  export DSOFLAGS=${LDFLAGS}
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  #make check
+
+  # there's currently  no real test suite, 
+  # the tool is only useful outside the fakeroot envireonment - when packaging it crashes:
+  # testpappl: client.c:771: avahi_client_get_host_name_fqdn: Assertion `client' failed.
+  # /startdir/PKGBUILD: line 43:  1878 Aborted                 (core dumped) ./testsuite/testpappl
+
+  # run it later outside fakeroot!
+  #./testsuite/testpappl 
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+
+  # install the testing tool
+  install -Dm755 testsuite/testpappl -t "$pkgdir"/usr/bin
+  # install docs
+  install -Dm644 doc/* -t "$pkgdir"/usr/share/doc/$pkgname
+  # add license + exception
+  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" {LICENSE,NOTICE}
+}



More information about the arch-commits mailing list