[arch-commits] Commit in kcm-wacomtablet/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Oct 11 20:09:45 UTC 2019


    Date: Friday, October 11, 2019 @ 20:09:44
  Author: arojas
Revision: 515167

Cleanup dependencies, rebuild without Release mode

Modified:
  kcm-wacomtablet/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-11 20:02:55 UTC (rev 515166)
+++ PKGBUILD	2019-10-11 20:09:44 UTC (rev 515167)
@@ -1,17 +1,19 @@
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
 # Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
 # Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
 # Contributor: Dylon Edwards <deltaecho at archlinux.us>
+
 pkgname=kcm-wacomtablet
 pkgver=3.2.0
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="KDE GUI for the Wacom Linux Drivers"
-arch=('i686' 'x86_64')
+arch=(x86_64)
 url="https://cgit.kde.org/wacomtablet.git"
-license=('GPL')
-depends=('plasma-framework' 'xf86-input-wacom')
-makedepends=('git' 'cmake' 'extra-cmake-modules' 'kdoctools')
+license=(GPL)
+depends=(xf86-input-wacom plasma-workspace)
+makedepends=(extra-cmake-modules kdoctools)
 source=("https://download.kde.org/stable/wacomtablet/$pkgver/wacomtablet-$pkgver.tar.xz"{,.sig}
         "add_missing_includes.diff")
 sha256sums=('c80ce63a41f6fcbb50ac4c2130ed2f8273c4b744e62e33d4b714bf83e8e5f7a4'
@@ -20,22 +22,19 @@
 validpgpkeys=('E6E4C916590026E45836A12EA8896AFDFEF5DF53') # Valeriy Malov
 
 prepare() {
-  cd "$srcdir/wacomtablet-$pkgver"
+  mkdir -p build
+
+  cd wacomtablet-$pkgver
   patch -Np1 < "$srcdir/add_missing_includes.diff"
 }
 
 build() {
-  cd "$srcdir/wacomtablet-$pkgver"
-
-  cmake . \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release
+  cd build
+  cmake ../wacomtablet-$pkgver
   make
 }
 
 package() {
-  cd "$srcdir/wacomtablet-$pkgver"
-
+  cd build
   make DESTDIR="$pkgdir" install
 }
-



More information about the arch-commits mailing list