mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
659 B
Bash
Executable file
33 lines
659 B
Bash
Executable file
plugrel=1
|
|
noautobuild=1
|
|
|
|
pkgname=tenderloin-touchserver
|
|
pkgver=20120107
|
|
pkgrel=1
|
|
pkgdesc="Touch input for HP TouchPad - Tenderloin"
|
|
arch=('armv7h')
|
|
url="http://www.quicinc.com/"
|
|
license=('GPL')
|
|
depends=('xorg-server')
|
|
makedepends=('git' 'gcc')
|
|
_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}
|
|
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/
|
|
}
|