summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8903e3ed02b6beac1c5deac154ab7a62d68313e3 (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
# Maintainer: James Armstrong <jm.armstrong1207@gmail.com>
pkgname=detect-tablet-mode-git
pkgver=master
pkgrel=3
pkgdesc="Detects both normal & tablet mode, executing custom scripts/commands for each mode. See the github page for instructions."
arch=('any')
url='https://github.com/alesguzik/linux_detect_tablet_mode'
license=('MIT')
groups=()
depends=('ruby' 'libinput')
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname::git+$url")
noextract=()
sha256sums=('SKIP')
#build() {
#}

package() {
	cd $pkgname

	install -d $pkgdir/usr/bin
	install -d $pkgdir/home/$USER/.config/

	cp watch_tablet $pkgdir/usr/bin
	cp watch_tablet.yml $pkgdir/home/$USER/.config
}