-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPKGBUILD
More file actions
33 lines (25 loc) · 683 Bytes
/
PKGBUILD
File metadata and controls
33 lines (25 loc) · 683 Bytes
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=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}
}