desktop/print-manager/PKGBUILD

29 lines
702 B
Bash
Raw Normal View History

2012-11-16 05:44:49 +08:00
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
pkgname=print-manager
pkgver=0.2.0
pkgrel=1
pkgdesc="A KDE tool for managing print jobs and printers"
arch=('x86_64')
url="https://projects.kde.org/projects/playground/base/print-manager"
license=('GPL')
depends=('kde-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
}