[arch-commits] Commit in pappl/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Mon Nov 30 17:10:12 UTC 2020
Date: Monday, November 30, 2020 @ 17:10:12
Author: andyrtr
Revision: 402430
archrelease: copy trunk to testing-x86_64
Added:
pappl/repos/testing-x86_64/PKGBUILD
(from rev 402429, pappl/trunk/PKGBUILD)
Deleted:
pappl/repos/testing-x86_64/PKGBUILD
----------+
PKGBUILD | 113 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 58 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-30 17:09:58 UTC (rev 402429)
+++ PKGBUILD 2020-11-30 17:10:12 UTC (rev 402430)
@@ -1,55 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=pappl
-#https://github.com/michaelrsweet/pappl/commits/master
-_commit=13cdb49a93d98aee4628bf23d8d7d66edf5b911e # master 2020-11-29
-pkgver=1.0b1+43+g13cdb49
-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")
-md5sums=('SKIP')
-
-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/testing-x86_64/PKGBUILD (from rev 402429, pappl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-30 17:10:12 UTC (rev 402430)
@@ -0,0 +1,58 @@
+# 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.0rc1
+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=('b50bdd54f95cfad4faca2a3984a4d21f54272ff29c7854c673d1f3088a3a4228'
+ '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}
+}
More information about the arch-commits
mailing list