mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
39 lines
864 B
Bash
Executable file
39 lines
864 B
Bash
Executable file
plugrel=1
|
|
noautobuild=1
|
|
|
|
pkgname=tenderloin-touchserver
|
|
pkgver=20111224
|
|
pkgrel=1
|
|
pkgdesc="Touch input for HP TouchPad - Tenderloin"
|
|
arch=('armv7h')
|
|
url="http://www.quicinc.com/"
|
|
license=('GPL')
|
|
depends=('xorg-server')
|
|
makedepends=('git')
|
|
source=('linux-input.patch')
|
|
md5sums=(9bf8f56ef91c5c77c74ea76c9c870ddb)
|
|
_gitroot="git://github.com/jcsullins/ts_srv_tenderloin.git"
|
|
_gitname="ts_srv_tenderloin"
|
|
|
|
build() {
|
|
cd $srcdir
|
|
|
|
## Git checkout
|
|
msg "Git checkout: Retrieving sources"
|
|
rm -rf ${_gitname}
|
|
git clone ${_gitroot}
|
|
msg "Checkout completed"
|
|
|
|
cd $srcdir/${_gitname}
|
|
# PATCH: Change location of input for Linux kernel
|
|
cp $srcdir/linux-input.patch $srcdir/${_gitname}/
|
|
patch -p1 < linux-input.patch
|
|
|
|
gcc -lm ts_srv.c -o ts_srv
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${_gitname}/
|
|
install -d $pkgdir/usr/bin
|
|
install -D -m755 ts_srv $pkgdir/usr/bin/
|
|
}
|