[arch-commits] Commit in pappl/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Thu Dec 16 19:50:33 UTC 2021
Date: Thursday, December 16, 2021 @ 19:50:33
Author: andyrtr
Revision: 432610
archrelease: copy trunk to extra-x86_64
Added:
pappl/repos/extra-x86_64/PKGBUILD
(from rev 432609, pappl/trunk/PKGBUILD)
Deleted:
pappl/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-16 19:50:24 UTC (rev 432609)
+++ PKGBUILD 2021-12-16 19:50:33 UTC (rev 432610)
@@ -1,50 +0,0 @@
-# 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}
-}
Copied: pappl/repos/extra-x86_64/PKGBUILD (from rev 432609, pappl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-16 19:50:33 UTC (rev 432610)
@@ -0,0 +1,50 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=pappl
+pkgver=1.1.0
+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=('60b4d2c6698ef083e346c7c127e83c46df964b2f6ef3c35d7752d7cb70f4d6be'
+ '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