summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b5419aabdffe61c1ec4341b14a12b38af4310dc (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
# 

pkgname=kbd-tapper
_pkgname=tapper
pkgver=0.7.4
_pkgver=0.7.4-0.vdb.1
pkgrel=1
pkgdesc='A keyboard layout switcher for X Window System and Wayland'
# 'Tapper selects specified keyboard layout when user *taps* specified key. It always *selects* layouts and never *toggles* them.'
arch=('x86_64')
url='http://kbd-tapper.sourceforge.net/en.html'
license=('GPL3')
depends=('dconf' 'glibmm' 'libinput' 'libxtst')
makedepends=('perl-path-tiny' 'perl-json')
source=(https://sourceforge.net/projects/${pkgname}/files/${pkgver}/${_pkgname}-${_pkgver}.tar.gz)
sha256sums=('2392ecd1163f22e26d4d8c7e47d14f51fb67d8c2d4cc9054d31a0e882efbcf32')

build() {
  cd ${_pkgname}-${_pkgver}
  [ ! -d _build ] && mkdir _build
  cd _build
  ../configure --prefix=/usr --disable-rpm --disable-html
  make
}

package() {
  cd ${_pkgname}-${_pkgver}
  cd _build
  make DESTDIR="${pkgdir}" install-strip
}