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

pkgname=swaykbdd
pkgver=1.0
pkgrel=1
pkgdesc='Per-window keyboard layouts for Sway (KBDD replacement)'
arch=('x86_64')
license=('MIT')
makedepends=('meson' 'ninja')
depends=('json-c')
url='https://github.com/artemsen/swaykbdd'
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
md5sums=('d7371d58205468ac73dfdbe9975f8c41')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    meson --prefix=/usr "${srcdir}/build"
    ninja -C "${srcdir}/build"
}

package(){
    cd "${srcdir}/${pkgname}-${pkgver}"
    DESTDIR="${pkgdir}" ninja -C "${srcdir}/build" install
}