summaryrefslogtreecommitdiff
path: root/user/xcape/APKBUILD
blob: c560795e12ce3b99bc31a1410a07b52e47384812 (plain) (blame)
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
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=xcape
pkgver=1.2
pkgrel=0
pkgdesc="Utility to make modifier keys act as other keys when pressed and released on their own"
url="https://github.com/alols/xcape"
arch="all"
options="!check"  # No test suite.
license="GPL-3.0+"
depends=""
makedepends="pkgconf libx11-dev libxtst-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" MANDIR="/share/man/man1" install
}

sha512sums="5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79  xcape-1.2.tar.gz"