blob: d2bfe0d2a42e3f01750b0b09dd59f11691319e5b (
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
|
# Maintainer: Anton Pirogov <anton pirogov at gmail dot com>
pkgname=x11remote
pkgver=0.1
pkgrel=3
pkgdesc='Simple mouse and keyboard remote control as touchscreen HTML5 web-app'
url="http://github.com/apirogov/${pkgname}"
license=('MIT')
arch=('i686' 'x86_64')
depends=('xdotool' 'xorg-xmodmap')
makedepends=('git') #this also needs stack, but usually stack is installed locally
source=("git+https://github.com/apirogov/${pkgname}.git")
md5sums=('SKIP')
# PKGBUILD functions
prepare() {
cd ${srcdir}/${pkgname}
stack install --only-snapshot
}
build() {
cd ${srcdir}/${pkgname}
stack build
}
package() {
cd ${srcdir}/${pkgname}
stack install --local-bin-path=${pkgdir}
}
|