summaryrefslogtreecommitdiff
path: root/extra/kdeutils-print-manager/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdeutils-print-manager/PKGBUILD')
-rw-r--r--extra/kdeutils-print-manager/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/kdeutils-print-manager/PKGBUILD b/extra/kdeutils-print-manager/PKGBUILD
new file mode 100644
index 000000000..29b1620de
--- /dev/null
+++ b/extra/kdeutils-print-manager/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 177779 2013-02-08 12:51:41Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdeutils-print-manager
+pkgver=4.10.0
+pkgrel=2
+pkgdesc="A tool for managing print jobs and printers"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kdeutils/print-manager'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-workspace' 'libcups')
+makedepends=('cmake' 'automoc4')
+optdepends=('system-config-printer: auto-detect the printer driver')
+replaces=('print-manager' 'kdeutils-printer-applet' 'kdeadmin-system-config-printer-kde')
+conflicts=('print-manager')
+groups=('kde' 'kdeutils')
+source=("http://download.kde.org/stable/${pkgver}/src/print-manager-${pkgver}.tar.xz")
+sha1sums=('182a514ed62baf1892be6c4b1977260ba365c634')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../print-manager-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}