summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3392ef10c510d11011e6652fd74d56aa595743ed (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
36
37
# Maintainer: Viacheslav Chimishuk <vchimishuk@yandex.ru>
# Contributors: Volodymyr Medvid <vmedvid@riseup.net>,
#               stepych <msaleksandr@gmail.com>

pkgname=kbdd-git
pkgrel=1
pkgver=0.7.1.r11.g7f3d9d2
provides=('kbdd')
conflicts=('kbdd')
pkgdesc="Simple daemon and library to make per window layout"
arch=('i686' 'x86_64')
url="https://github.com/qnikst/kbdd"
license=('GPL3')
makedepends=('git' 'automake' 'autoconf' 'python')
depends=('libx11' 'dbus-glib')
source=("git+https://github.com/qnikst/kbdd.git")
md5sums=('SKIP')

build() {
    cd "${srcdir}/kbdd"
    aclocal
    autoheader
    automake --add-missing
    autoreconf
    ./configure --prefix=/usr
    make
}

package() {
    cd "${srcdir}/kbdd"
    make DESTDIR="${pkgdir}" install
}

pkgver() {
    cd "${srcdir}/kbdd"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}