mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added alarm/xinput_calibrator
This commit is contained in:
parent
def5e117f8
commit
624e494ed1
1 changed files with 34 additions and 0 deletions
34
alarm/xinput_calibrator/PKGBUILD
Normal file
34
alarm/xinput_calibrator/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
# Contributor: Alexander Werner <bundeswerner@googlemail.com>
|
||||||
|
|
||||||
|
pkgname=xinput_calibrator
|
||||||
|
pkgver=0.7.5.r88.g03dadf5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A generic touchscreen calibration program for X.Org"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://www.freedesktop.org/wiki/Software/xinput_calibrator"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('libx11' 'libxi' 'libxext' 'libxfixes')
|
||||||
|
makedepends=('git')
|
||||||
|
source=("git+https://github.com/tias/xinput_calibrator.git")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd ${pkgname}
|
||||||
|
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}
|
||||||
|
|
||||||
|
./autogen.sh --prefix=/usr
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}
|
||||||
|
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
install -m755 scripts/xinput_calibrator{_get_hal_calibration.sh,_pointercal.sh} "${pkgdir}/usr/bin/"
|
||||||
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
Loading…
Reference in a new issue