summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c4d41c7e2b1d35f9f0e0398c6a4b29e32358c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Alexander Ryapolov <srwork@gmail.com>

pkgname=qtvkbd
pkgver=0.8.1
pkgrel=1
pkgdesc="A virtual keyboard"
arch=(i686 x86_64)
url="https://github.com/Alexander-r/qtvkbd"
license=('GPL3')
depends=('qt5-base' 'qt5-x11extras' 'libxtst')
makedepends=('cmake' 'git')
source=("$pkgname::git+https://github.com/Alexander-r/qtvkbd.git#tag=v0.8.1")
md5sums=('SKIP')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../$pkgname \
    -DDATA_INSTALL_DIR=/usr/share/apps \
    -DQT_QMAKE_EXECUTABLE=qmake-qt5 \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}