summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3338bb67c595f5371a2054f628815781f9ebd02c (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
32
33
34
35
# Maintainer: Arnab Bose <hirak99+arch@gmail.com>

pkgname=keyshift
pkgver=1.0.12
pkgrel=1
pkgdesc="Keyshift - keyboard remapping utility for Linux"
arch=('any')
url="https://github.com/hirak99/$pkgname"
license=('Apache')
depends=()
makedepends=()

source=(
  "$pkgname::git+https://github.com/hirak99/keyshift.git#tag=v$pkgver"
)
md5sums=(
  'SKIP'
)

options=(!debug)

prepare() {
  cd "$pkgname"
  cd ./src/thirdparty
  # Extract digestpp.
  git submodule update --init --recursive
}

package() {
  cd "$pkgname"
  ./build_minimal.sh

  install -Dm 755 ./build/keyshift "$pkgdir"/usr/bin/keyshift
}