desktop/kdeutils-printer-applet/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

47 lines
1.4 KiB
Bash

# Maintainer: abveritas@chakra-project[dog]org>
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kdeutils-printer-applet"
_pkgname="printer-applet"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="A system tray utility that shows current print jobs, printer warnings and errors"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' 'debug')
depends=("kde-runtime" "kde-baseapps>=${_kdever}" "kdebindings-pykde4>=${_kdever}" 'system-config-printer')
conflicts=("kdeutils-common")
groups=("kde" "kdeutils" "kde-uninstall")
categories=('utils')
install=kdeutils.install
makedepends=('pkg-config' 'cmake' 'automoc4' "kdelibs>=${_kdever}"
"kdepimlibs>=${_kdever}" "kde-baseapps>=${_kdever}"
"kde-workspace>=${_workspace_ver}" "kdebindings-pykde4>=${_kdever}")
source=($_mirror/${_pkgname}-$_kdever.tar.xz)
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
validpgpkeys=(${Avalidpgpkeys})
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
msg "starting build ..."
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DINSTALL_PRINTER_APPLET=TRUE \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}