Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

egalaxtouch

By: a guest on Sep 26th, 2011  |  syntax: Bash  |  size: 1.12 KB  |  views: 95  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: neolith2099
  2.  
  3. pkgname="xf86-input-egalax"
  4. pkgver="3.06.5625"
  5. pkgrel=1
  6. pkgdesc="eGalaxTouch touchscreen driver"
  7. url="http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm"
  8. license=('custom:EULA')
  9. arch=('i686')
  10. install=('xf86-input-egalax.install')
  11.  
  12. md5sums=(
  13.     '1b81b84cdf127624e187c2f4958df81e'  
  14. )
  15.  
  16. _architect='32'
  17.  
  18. source=("eGalaxTouch-${pkgver}-${_architect}b-k26.tar.gz::http://home.eeti.com.tw/web20/drivers/touch_driver/Linux/20110831/eGalaxTouch-${pkgver}-${_architect}b-k26.tar.gz")
  19.  
  20. depends=('xorg-server>=1.8' 'libpng12')
  21. provides=('egalax')
  22. conflicts=()
  23. groups=('xorg-input-drivers')
  24.  
  25. build() {
  26.     cd $srcdir/eGalaxTouch${_architect}
  27.  
  28.     tar -xzf eGalaxTouch.tar.gz || return 1
  29.  
  30.     cd eGalaxTouch${_architect}
  31.  
  32.     mkdir -p \
  33.         "$pkgdir/usr/lib/xorg/modules/input" \
  34.         "$pkgdir/usr/bin" \
  35.         "$pkgdir/usr/share/licenses/$pkgname/" || return 1
  36.  
  37.     install -D -m755 Module/x18/egalax_drv.so $pkgdir/usr/lib/xorg/modules/input
  38.     install -D -m755 eGalaxTouch $pkgdir/usr/bin
  39.     install -D -m755 TKCal/TKCal $pkgdir/usr/bin
  40.     install -D -m644 eula.pdf $pkgdir/usr/share/licenses/$pkgname
  41. }