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

pkgname=kbd-tapper
_pkgname=tapper
pkgver=0.3.1
pkgrel=1
pkgdesc='A keyboard layout selector for Gnome Shell or X Window'
# '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=('GPL')
depends=('libxtst' 'json-glib')
source=(https://sourceforge.net/projects/${pkgname}/files/${pkgver}/${_pkgname}-${pkgver}.tar.gz)
sha256sums=('667af8d92b8dada2a46f79a957e3cd10c0cc16ba40cb1d31d8593a225710de83')

build() {
  cd ${_pkgname}-${pkgver}
  mkdir _build && cd _build
  ../configure --prefix=/usr
  make
}

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

#arch=('i686' 'x86_64')