mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
New version
This commit is contained in:
parent
edefe8bf12
commit
7210dffbb3
@ -7,18 +7,13 @@
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgbase=('kdeadmin')
|
||||
pkgname=('kdeadmin-kcron'
|
||||
'kdeadmin-kuser'
|
||||
'kdeadmin-ksystemlog'
|
||||
'kdeadmin-system-config-printer')
|
||||
|
||||
# 'kdeadmin-strigi-analyzer' : Generates and empty pkg
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="split package"
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
|
||||
|
||||
pkgname="system-config-printer"
|
||||
pkgver=1.3.9
|
||||
pkgver=1.3.12
|
||||
pkgrel=1
|
||||
pkgdesc="A CUPS printer configuration tool and status applet"
|
||||
url="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
@ -11,13 +11,14 @@ arch=('any')
|
||||
license=('GPL')
|
||||
depends=('pycups' 'dbus-python' 'pysmbc' 'libusb-compat' 'python-pycurl')
|
||||
makedepends=('intltool' 'python2' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libcups' 'libxml2')
|
||||
optdepends=('kdeadmin-system-config-printer-kde: for the administration tool in KDE System Settings')
|
||||
optdepends=('kdeadmin-print-manager: for the administration tool in KDE System Settings')
|
||||
provides=('system-config-printer-common')
|
||||
source=("http://cyberelk.net/tim/data/${pkgname}/1.3/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=('df424f127eede63965608e5ec5e27519')
|
||||
source=(http://cyberelk.net/tim/data/${pkgname}/1.3/${pkgname}-${pkgver}.tar.xz{,.sig})
|
||||
md5sums=('0775647e1c34ef25364de3c178a4ed36'
|
||||
'1aa2246047b424e2d23473749368b8c6')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"/${pkgbase}-${pkgver}
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
|
||||
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
|
||||
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
|
||||
@ -36,8 +37,8 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
install -d ${pkgdir}/usr/share/${pkgname}
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
install -d "${pkgdir}"/usr/share/${pkgname}
|
||||
install -m644 config.py \
|
||||
debug.py \
|
||||
installpackage.py \
|
||||
@ -48,26 +49,32 @@ package() {
|
||||
SearchCriterion.py \
|
||||
smburi.py \
|
||||
statereason.py \
|
||||
${pkgdir}/usr/share/${pkgname}/
|
||||
"${pkgdir}"/usr/share/${pkgname}/
|
||||
|
||||
install -m755 pysmb.py \
|
||||
${pkgdir}/usr/share/${pkgname}/
|
||||
"${pkgdir}"/usr/share/${pkgname}/
|
||||
|
||||
install -d ${pkgdir}/etc/dbus-1/system.d/
|
||||
install -d "${pkgdir}"/etc/dbus-1/system.d/
|
||||
install -m644 dbus/com.redhat.NewPrinterNotification.conf \
|
||||
dbus/com.redhat.PrinterDriversInstaller.conf \
|
||||
${pkgdir}/etc/dbus-1/system.d/
|
||||
install -d ${pkgdir}/etc/cupshelpers/
|
||||
install -m644 xml/preferreddrivers.xml ${pkgdir}/etc/cupshelpers/
|
||||
"${pkgdir}"/etc/dbus-1/system.d/
|
||||
|
||||
install -d ${pkgdir}/usr/lib/udev/rules.d
|
||||
install -d "${pkgdir}"/usr/share/dbus-1/{services,interfaces}
|
||||
install -m644 dbus/org.fedoraproject.Config.Printing.service \
|
||||
"${pkgdir}"/usr/share/dbus-1/services/
|
||||
install -m644 dbus/org.fedoraproject.Config.Printing.xml \
|
||||
"${pkgdir}"/usr/share/dbus-1/interfaces/
|
||||
install -d "${pkgdir}"/etc/cupshelpers/
|
||||
install -m644 xml/preferreddrivers.xml "${pkgdir}"/etc/cupshelpers/
|
||||
|
||||
install -d "${pkgdir}"/usr/lib/udev/rules.d
|
||||
install -m755 udev/{udev-add-printer,udev-configure-printer} \
|
||||
${pkgdir}/usr/lib/udev/
|
||||
"${pkgdir}"/usr/lib/udev/
|
||||
install -m644 udev/70-printers.rules \
|
||||
${pkgdir}/usr/lib/udev/rules.d
|
||||
"${pkgdir}"/usr/lib/udev/rules.d
|
||||
|
||||
for file in build/lib/cupshelpers/*.py; do
|
||||
install -Dm644 $file \
|
||||
${pkgdir}/usr/lib/python2.7/site-packages/cupshelpers/$(basename $file)
|
||||
"${pkgdir}"/usr/lib/python2.7/site-packages/cupshelpers/$(basename $file)
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user