mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 14:47:17 +08:00
system-config-printer update
This commit is contained in:
parent
572b7a7bf7
commit
3ef5d4c846
@ -7,17 +7,21 @@
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgbase=system-config-printer
|
||||
pkgname=('system-config-printer')
|
||||
pkgver=1.3.3
|
||||
pkgname=system-config-printer
|
||||
pkgver=1.3.4
|
||||
pkgrel=1
|
||||
pkgdesc="A CUPS printer configuration tool and status applet"
|
||||
url="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
depends=('pycups' 'dbus-python' 'pysmbc')
|
||||
makedepends=('intltool' 'python2' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libcups' 'libxml2')
|
||||
source=("http://cyberelk.net/tim/data/${pkgbase}/1.3/${pkgbase}-${pkgver}.tar.xz")
|
||||
md5sums=('658516848c6ced2b1acc6d3525d27204')
|
||||
optdepends=('kdeadmin-system-config-printer-kde: for the administration tool in KDE System Settings')
|
||||
replaces=('system-config-printer')
|
||||
provides=("system-config-printer=$pkgver" 'system-config-printer-common')
|
||||
conflicts=('system-config-printer')
|
||||
source=("http://cyberelk.net/tim/data/${pkgname}/1.3/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=('8e4b1b1fd078c09769708f09b77cb3ed')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
@ -33,15 +37,8 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
pkgdesc='Pygtk CUPS Configuration'
|
||||
depends=('pycups' 'dbus-python' 'pysmbc')
|
||||
optdepends=('kdeadmin-system-config-printer-kde: for the administration tool in KDE System Settings')
|
||||
replaces=('system-config-printer')
|
||||
provides=("system-config-printer=$pkgver" 'system-config-printer-common')
|
||||
conflicts=('system-config-printer')
|
||||
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
install -d ${pkgdir}/usr/share/${pkgbase}
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
install -d ${pkgdir}/usr/share/${pkgname}
|
||||
install -m644 config.py \
|
||||
debug.py \
|
||||
installpackage.py \
|
||||
@ -52,11 +49,10 @@ package() {
|
||||
SearchCriterion.py \
|
||||
smburi.py \
|
||||
statereason.py \
|
||||
XmlHelper.py \
|
||||
${pkgdir}/usr/share/${pkgbase}/
|
||||
${pkgdir}/usr/share/${pkgname}/
|
||||
|
||||
install -m755 pysmb.py \
|
||||
${pkgdir}/usr/share/${pkgbase}/
|
||||
${pkgdir}/usr/share/${pkgname}/
|
||||
|
||||
install -d ${pkgdir}/etc/dbus-1/system.d/
|
||||
install -m644 dbus/com.redhat.NewPrinterNotification.conf \
|
||||
|
Loading…
Reference in New Issue
Block a user