# Maintainer: Tim Schumacher # Contributor: joetw # Contributor: Greg Fitzgerald pkgname=xcape-multilayout-git pkgver=1.1.r9.gf3802fc pkgrel=2 epoch=1 pkgdesc="xcape with support for the multiple keyboard layouts feature of XKB" arch=('i686' 'x86_64') url="https://github.com/alols/xcape/pull/117" license=('GPL3') depends=('libxtst') makedepends=('git') provides=('xcape') conflicts=('xcape') source=("git+https://github.com/timakro/xcape#branch=pr_multiple_layouts") sha256sums=('SKIP') pkgver() { cd xcape git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd xcape make } package() { cd xcape make DESTDIR="$pkgdir/" MANDIR="/share/man/man1" install install -Dm 644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" find "$pkgdir" -type d -name .git -exec rm -r '{}' + } # vim:set ft=PKGBUILD ts=2 sw=2 et: