mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
29 lines
702 B
Bash
29 lines
702 B
Bash
# 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
|
|
}
|