# Maintainer: Lukas Jirkovsky # Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > # Contributor: Dany Martineau # Contributor: Dylon Edwards pkgname=kcm-wacomtablet pkgver=3.0.0~beta1 pkgrel=2 pkgdesc="KDE GUI for the Wacom Linux Drivers" arch=('i686' 'x86_64') url="https://www.linux-apps.com/p/1127862/" license=('GPL2') depends=('plasma-framework' 'xf86-input-wacom') makedepends=('git' 'cmake' 'extra-cmake-modules' 'kdoctools' 'kdelibs4support' 'python') # https://quickgit.kde.org/?p=wacomtablet.git source=("https://dl.opendesktop.org/api/files/download/id/1466630714/114856-wacomtablet-${pkgver}.tar.xz") md5sums=('95d1d29063d6de2ab0881c33e8eacb05') prepare() { cd "$srcdir/wacomtablet-$pkgver" sed -i "s|(MacroOptionalAddSubdirectory)|(ECMOptionalAddSubdirectory)|" CMakeLists.txt sed -i "s|macro_optional_add_subdirectory|ECM_OPTIONAL_ADD_SUBDIRECTORY|" CMakeLists.txt } build() { cd "$srcdir/wacomtablet-$pkgver" cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON make } package() { cd "$srcdir/wacomtablet-$pkgver" make DESTDIR="$pkgdir" install }