blob: da9c5836ac25016bc3e909d6c0e2472e35c91fa8 (
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
|
# Maintainer: Anton Pirogov <anton pirogov at gmail dot com>
pkgname=x11remote
pkgver=0.1
pkgrel=1
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' 'ghc' 'cabal-install')
source=("git+https://github.com/apirogov/${pkgname}.git")
md5sums=('SKIP')
# PKGBUILD functions
build() {
cd ${srcdir}/${pkgname}
cabal update
cabal sandbox init
cabal install --only-dependencies
cabal configure -O --prefix=/usr
cabal build
}
package() {
cd ${srcdir}/${pkgname}
cabal copy --destdir=${pkgdir}
}
|