1 # Contributor: Kvasthval
6 pkgdesc="Configuration tool for Sentelic touchpads."
8 url=http://sourceforge.net/projects/fsp-lnxdrv/
12 source=(http://downloads.sourceforge.net/fsp-lnxdrv/fsp-lnxdrv-$pkgver-src.tar.gz)
13 md5sums=('493e8a786e16ff903ce829c38204fa80')
17 # Compiling libfsp first (required)
18 cd $srcdir/release_$_altver/src/libfsp
22 cd $srcdir/release_$_altver/src/$pkgname
24 make $pkgname || return 1
26 # Installing fspc and resource files
27 install -D -m0755 fspc $pkgdir/usr/bin/fspc || return 1
28 install -D -m0644 fspcui.xrc $pkgdir/usr/share/$pkgname/fspcui.xrc || return 1
29 install -D -m0644 pic/Acceleration.png $pkgdir/usr/share/$pkgname/pic/Acceleration.png || return 1
30 install -D -m0644 pic/HEnabled.png $pkgdir/usr/share/$pkgname/pic/HEnabled.png || return 1
31 install -D -m0644 pic/Logo.png $pkgdir/usr/share/$pkgname/pic/Logo.png || return 1
32 install -D -m0644 pic/OpClick.png $pkgdir/usr/share/$pkgname/pic/OpClick.png || return 1
33 install -D -m0644 pic/panelAcceleration.png $pkgdir/usr/share/$pkgname/pic/panelAcceleration.png || return 1
34 install -D -m0644 pic/panelClickOnPad.png $pkgdir/usr/share/$pkgname/pic/panelClickOnPad.png || return 1
35 install -D -m0644 pic/panelDeclaration.png $pkgdir/usr/share/$pkgname/pic/panelDeclaration.png || return 1
36 install -D -m0644 pic/panelScrollOnPad.png $pkgdir/usr/share/$pkgname/pic/panelScrollOnPad.png || return 1
37 install -D -m0644 pic/panelSwInfo.png $pkgdir/usr/share/$pkgname/pic/panelSwInfo.png || return 1
38 install -D -m0644 pic/VEnabled.png $pkgdir/usr/share/$pkgname/pic/VEnabled.png || return 1
39 install -D -m0644 pic/VHDisabled.png $pkgdir/usr/share/$pkgname/pic/VHDisabled.png || return 1
40 install -D -m0644 pic/VHEnabled.png $pkgdir/usr/share/$pkgname/pic/VHEnabled.png || return 1