summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b723ac630fee91c3e67eaf30c3f12ac52ea2ae9 (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
# Maintainer: Artem Senichev <artemsen@gmail.com>
# Contributor: Artem Senichev <artemsen@gmail.com>

pkgname=swaykbdd
pkgver=1.4
pkgrel=1
pkgdesc='Automatic keyboard layout switching in Sway'
arch=('x86_64')
license=('MIT')
makedepends=('meson')
depends=('json-c')
url='https://github.com/artemsen/swaykbdd'
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
md5sums=('ab2ed5d8037555a23e9378bddc568710')

build() {
  arch-meson ${pkgname}-${pkgver} build
  meson compile -C build
}

package(){
  meson install -C build --destdir "${pkgdir}"
  install -Dm644 ${pkgname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
}