[arch-commits] Commit in pappl/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Mon Nov 30 17:09:58 UTC 2020


    Date: Monday, November 30, 2020 @ 17:09:58
  Author: andyrtr
Revision: 402429

upgpkg: pappl 1.0rc1-1: update to latest git commit - 1.0rc1

Modified:
  pappl/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-30 16:52:35 UTC (rev 402428)
+++ PKGBUILD	2020-11-30 17:09:58 UTC (rev 402429)
@@ -2,8 +2,8 @@
 
 pkgname=pappl
 #https://github.com/michaelrsweet/pappl/commits/master
-_commit=13cdb49a93d98aee4628bf23d8d7d66edf5b911e # master 2020-11-29
-pkgver=1.0b1+43+g13cdb49
+#_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')
@@ -11,16 +11,19 @@
 license=('Apache' 'custom')
 depends=('libcups' 'libjpeg-turbo' 'pam')
 makedepends=('git')
-source=(git+"https://github.com/michaelrsweet/pappl.git#commit=$_commit")
-md5sums=('SKIP')
+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//'
-}
+#pkgver() {
+#  cd $pkgname
+#  git describe --tags | sed 's/-/+/g' | sed 's/v//'
+#}
 
 build() {
-  cd "$pkgname" #-$pkgver"
+  cd "$pkgname-$pkgver"
 
   # The build system uses only DSOFLAGS but not LDFLAGS to build some libraries.
   export DSOFLAGS=${LDFLAGS}
@@ -30,8 +33,8 @@
 }
 
 check() {
-  cd "$pkgname" #-$pkgver"
-#  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:
@@ -43,7 +46,7 @@
 }
 
 package() {
-  cd "$pkgname" #-$pkgver"
+  cd "$pkgname-$pkgver"
   make DESTDIR="$pkgdir/" install
 
   # install the testing tool



More information about the arch-commits mailing list