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

Andreas Radke andyrtr at archlinux.org
Sun Nov 15 19:51:46 UTC 2020


    Date: Sunday, November 15, 2020 @ 19:51:45
  Author: andyrtr
Revision: 401237

upgpkg: pappl 1.0b1+5+gec5138a-1: update to recent git commit; avoid overlinking - use LDFLAGS

Modified:
  pappl/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++--------------------
 1 file changed, 11 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-15 18:25:47 UTC (rev 401236)
+++ PKGBUILD	2020-11-15 19:51:45 UTC (rev 401237)
@@ -2,9 +2,9 @@
 
 pkgname=pappl
 #https://github.com/michaelrsweet/pappl/commits/master
-_commit=cae47839b31896af799e6a81b33d32e605281049 # master 2020-11-11
-pkgver=0.9
-pkgrel=0.1
+_commit=ec5138a15d307588881337693cc4afcaab566903 # master 2020-11-15
+pkgver=1.0b1+5+gec5138a
+pkgrel=1
 pkgdesc="a simple C-based framework/library for developing CUPS Printer Applications"
 arch=('x86_64')
 url="https://www.msweet.org/pappl/"
@@ -11,29 +11,20 @@
 license=('Apache' 'custom')
 depends=('libcups' 'libjpeg-turbo' 'pam')
 makedepends=('git')
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-#options=('!makeflags')
-install=
-changelog=
-#source=("$pkgname-$pkgver.tar.gz"
-#        "$pkgname-$pkgver.patch")
 source=(git+"https://github.com/michaelrsweet/pappl.git#commit=$_commit")
-noextract=()
 md5sums=('SKIP')
-validpgpkeys=()
 
-#prepare() {
-#	cd "$pkgname-$pkgver"
-#	patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
-#}
+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
 }



More information about the arch-commits mailing list