pkgname: 'system-config-printer' pkgver: '1.5.18' pkgrel: '8' pkgdesc: 'A CUPS printer configuration tool and status applet' url: 'https://github.com/zdohnal/system-config-printer' arch: x86_64 depends: - 'python-dbus' - 'python-gobject' - 'python-cairo' - 'python-cups' - 'python-curl' - 'python-smbc' - 'desktop-file-utils' makedepends: - systemd - 'docbook-xsl' - intltool - xmlto source: - 'https://github.com/OpenPrinting/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --sbindir=/usr/bin --sysconfdir=/etc \ --with-udevdir=/usr/lib/udev \ --with-udev-rules \ --with-systemdsystemdir=/usr/lib/systemd/system \ --with-cups-serverbin-dir=/usr/lib/cups make make DESTDIR=${PKGDIR} install # Compile *.pyc find ${PKGDIR} -name '*.py' -exec python -mpy_compile {} + # Compile *.pyo find ${PKGDIR} -name '*.py' -exec python -O -mpy_compile {} + package: | true