cups-pk-helper packaged

This commit is contained in:
Berk Çakar
2021-07-19 11:35:31 +03:00
parent e5dc893bbb
commit 0dbc1df565
2 changed files with 74 additions and 0 deletions
@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
autotools.configure("--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/cups-pk-helper")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.system("install -dm755 %s/usr/share/dbus-1/system.d" % get.installDIR())
pisitools.domove("/etc/dbus-1/system.d/*", "/usr/share/dbus-1/system.d")
pisitools.removeDir("/etc")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "NEWS", "HACKING")