blob: 58988b69a5cb83559c57c0d01737ba973ec225bd (
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
|
# Maintainer: Orestis Floros <orestisflo@gmail.com>
# Contributor: Doron Behar <doron.behar@gmail.com>
# Contributor: DeaDDooMER <deaddoomer@deadsoftware.ru>
pkgname=xkb-switch-git
pkgver=1.6.0.r12.gba0ee5d
pkgrel=1
pkgdesc='Program that allows to query and change the XKB layout state'
arch=('i686' 'x86_64')
url='https://github.com/grwlf/xkb-switch'
license=('GPL3')
depends=('libx11' 'libxkbfile')
provides=('xkb-switch')
conflicts=('xkb-switch')
makedepends=('git' 'cmake')
source=('git+git://github.com/grwlf/xkb-switch')
sha1sums=('SKIP')
pkgver() {
cd xkb-switch
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd xkb-switch
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd xkb-switch
make DESTDIR="$pkgdir/" install
}
|