[arch-commits] Commit in system-config-printer/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Tue Mar 17 10:59:44 UTC 2020
Date: Tuesday, March 17, 2020 @ 10:59:44
Author: andyrtr
Revision: 377809
upgpkg: system-config-printer 1.5.12+33+g23b454ef-1: update to latest git commit; fix a segfault - FS#65618
Modified:
system-config-printer/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-17 10:28:34 UTC (rev 377808)
+++ PKGBUILD 2020-03-17 10:59:44 UTC (rev 377809)
@@ -2,8 +2,9 @@
# Contributor: Andrea Scarpino <andrea at archlinux.org>
pkgname=system-config-printer
-pkgver=1.5.12
-pkgrel=2
+pkgver=1.5.12+33+g23b454ef
+pkgrel=1
+_commit=23b454ef52dd1992fb931a11481e8c25b7c7b755 # master
pkgdesc="A CUPS printer configuration tool and status applet"
url="https://github.com/OpenPrinting/system-config-printer"
arch=('x86_64')
@@ -10,15 +11,28 @@
license=('GPL')
depends=('python-pycups' 'python-dbus' 'python-pycurl' 'libnotify'
'python-requests' 'python-gobject' 'gtk3' 'python-cairo')
-makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libsecret')
+makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libsecret' 'git')
optdepends=('libsecret: password management'
'python-pysmbc: SMB browser support'
'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
-source=(https://github.com/OpenPrinting/system-config-printer/releases/download/$pkgver/system-config-printer-${pkgver}.tar.xz)
-sha256sums=('6b16717dfe1f64ada6ef9398dcab07b8b7c864f006588d03002e41b743cf1e14')
+source=(#https://github.com/OpenPrinting/system-config-printer/releases/download/$pkgver/system-config-printer-${pkgver}.tar.xz
+ "git+https://github.com/OpenPrinting/system-config-printer.git#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd ${pkgname} #-${pkgver}
+ # create missing dummy files
+ touch ./{README,ChangeLog}
+ autoreconf -vfi
+}
+
build() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname} #-${pkgver}
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
@@ -27,7 +41,7 @@
}
package() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname} #-${pkgver}
make DESTDIR="$pkgdir" install
# Compile *.pyc
More information about the arch-commits
mailing list