diff options
Diffstat (limited to 'community/print-manager/PKGBUILD')
-rw-r--r-- | community/print-manager/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/print-manager/PKGBUILD b/community/print-manager/PKGBUILD new file mode 100644 index 000000000..c377ad94d --- /dev/null +++ b/community/print-manager/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: vicky91 <vickypaiers@gmail.com> + +pkgname=print-manager +pkgver=0.2.0 +pkgrel=1 +pkgdesc="A KDE tool for managing print jobs and printers" +arch=('i686' 'x86_64') +url="https://projects.kde.org/projects/playground/base/print-manager" +license=('GPL') +depends=('kdebase-workspace' 'libcups') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +md5sums=('183c22e91021b0357c2a27146c931de0') + +build() { + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCUPS_1_6=ON + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |