forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to extra-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@399306 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
andyrtr
committed
Nov 5, 2020
1 parent
981b9ca
commit 889a448
Showing
1 changed file
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,37 +2,31 @@ | |
# Contributor: Andrea Scarpino <[email protected]> | ||
|
||
pkgname=system-config-printer | ||
pkgver=1.5.12+33+g23b454ef | ||
pkgver=1.5.13 | ||
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') | ||
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' 'git') | ||
makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libsecret') | ||
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 | ||
"git+https://github.com/OpenPrinting/system-config-printer.git#commit=$_commit") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $pkgname | ||
git describe --tags | sed 's/-/+/g' | ||
} | ||
source=(https://github.com/OpenPrinting/system-config-printer/releases/download/v${pkgver}/system-config-printer-${pkgver}.tar.xz) | ||
sha256sums=('eea3f06448aa5bb5fa0decdf9b912aefd21e3bd6615fc3e77b349ca443dcb8a1') | ||
|
||
prepare() { | ||
cd ${pkgname} #-${pkgver} | ||
cd ${pkgname}-${pkgver} | ||
# create missing dummy files | ||
touch ./{README,ChangeLog} | ||
#touch ./{README,ChangeLog} | ||
touch README | ||
autoreconf -vfi | ||
} | ||
|
||
build() { | ||
cd ${pkgname} #-${pkgver} | ||
cd ${pkgname}-${pkgver} | ||
./configure --prefix=/usr \ | ||
--sbindir=/usr/bin \ | ||
--sysconfdir=/etc \ | ||
|
@@ -41,7 +35,7 @@ build() { | |
} | ||
|
||
package() { | ||
cd ${pkgname} #-${pkgver} | ||
cd ${pkgname}-${pkgver} | ||
make DESTDIR="$pkgdir" install | ||
|
||
# Compile *.pyc | ||
|