summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e69fce7e84d2b7361edccb82d2258a6bb893f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Jerry Xiao <aur at mail.jerryxiao.cc>

pkgname=xkbcat
pkgver=2.2.1
pkgrel=1
pkgdesc="simple sudoless X11 keylogger"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/anko/xkbcat"
license=('ISC')
depends=('libxi')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('5128255cdc50cdbd75fdbcb5efec146e4770d2c209ec6f953e4852caab9be840')

build() {
  cd ${pkgname}-${pkgver}
  make
}

package() {
  cd ${pkgname}-${pkgver}
  install -Dm755 "xkbcat" "${pkgdir}/usr/bin/xkbcat"
}