summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52a5d3f31315949177dd938fc9f3283b770626c0 (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
pkgname=key-mapper-git
pkgver=0.4.0
pkgrel=2
pkgdesc="A tool to change and program the mapping of your input device buttons."
arch=('any')
url="https://github.com/sezanzeb/key-mapper/"
license=('GPL3')
depends=('python-gobject' 'python-pydbus' 'python-evdev')
makedepends=('git' 'fakeroot' 'python-setuptools')
provides=('key-mapper')
conflicts=('key-mapper')
install=key-mapper-git.install
source=("git+https://github.com/sezanzeb/key-mapper.git")
md5sums=('SKIP')
_gitname="key-mapper"

pkgver() {
	cd "$srcdir"/"$_gitname"
	git describe --tags | sed 's/-/+/g'
}

build() {
	cd "$srcdir"/"$_gitname"
	python3 setup.py build
}

package() {
	cd "$srcdir"/"$_gitname"
	python3 setup.py install --root=$pkgdir
}