1 # Maintainer: neolith2099
3 pkgname="xf86-input-egalax"
6 pkgdesc="eGalaxTouch touchscreen driver"
7 url="http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm"
8 license=('custom:EULA')
10 install=('xf86-input-egalax.install')
13 '5b85883540a4b13389a04fe2fd10cd2c'
17 [ "$CARCH" = "x86_64" ] && _architect='64'
18 [ "$CARCH" = "x86_64" ] && md5sums[0]='420c9c5dc613644fae468d365674d3ed'
20 source=("eGalaxTouch-${pkgver}-${_architect}b-k26.tar.gz::http://home.eeti.com.tw/web20/drivers/touch_driver/Linux/20100413/eGalaxTouch-${pkgver}-${_architect}b-k26.tar.gz")
22 depends=('xorg-server>=1.8' 'libpng12')
25 groups=('xorg-input-drivers')
28 cd $srcdir/eGalaxTouch${_architect}
30 tar -xzf eGalaxTouch.tar.gz || return 1
32 cd eGalaxTouch${_architect}
35 "$pkgdir/usr/lib/xorg/modules/input" \
37 "$pkgdir/usr/share/licenses/$pkgname/" || return 1
39 install -D -m755 Module/x18/egalax_drv.so $pkgdir/usr/lib/xorg/modules/input
40 install -D -m755 eGalaxTouch $pkgdir/usr/bin
41 install -D -m755 TKCal/TKCal $pkgdir/usr/bin
42 install -D -m644 eula.pdf $pkgdir/usr/share/licenses/$pkgname