[arch-commits] Commit in kdeutils-printer-applet/repos (3 files)
Andrea Scarpino
andrea at archlinux.org
Wed Aug 1 14:43:12 UTC 2012
Date: Wednesday, August 1, 2012 @ 10:43:12
Author: andrea
Revision: 164617
db-move: moved kdeutils-printer-applet from [kde-unstable] to [testing] (any)
Added:
kdeutils-printer-applet/repos/testing-any/
kdeutils-printer-applet/repos/testing-any/PKGBUILD
(from rev 164520, kdeutils-printer-applet/repos/kde-unstable-any/PKGBUILD)
Deleted:
kdeutils-printer-applet/repos/kde-unstable-any/
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: kdeutils-printer-applet/repos/testing-any/PKGBUILD (from rev 164520, kdeutils-printer-applet/repos/kde-unstable-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-08-01 14:43:12 UTC (rev 164617)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-printer-applet
+pkgver=4.9.0
+pkgrel=1
+pkgdesc='System tray icon for managing print jobs'
+url='http://kde.org/applications/system/printerapplet/'
+arch=('any')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime' 'kdebindings-python2' 'system-config-printer-common')
+makedepends=('cmake' 'automoc4')
+groups=('kde' 'kdeutils')
+source=("http://download.kde.org/stable/${pkgver}/src/printer-applet-${pkgver}.tar.xz")
+sha1sums=('165ec419ac95770699ff17fee1c2da7902931926')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../printer-applet-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc
+ make DESTDIR=$pkgdir install
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/share/apps/printer-applet/{authconn,debug,monitor,printer-applet,statereason}.py
+}
More information about the arch-commits
mailing list