Commit | Line | Data |
---|---|---|
209feeb0 H |
1 | # Contributor: Thomas Mudrunka <harvie@@email..cz> |
2 | # You can also contact me on http://blog.harvie.cz/ | |
3 | ||
4 | pkgname=gpointing-device-settings | |
5 | pkgver=1.5.1 | |
6 | pkgrel=2 | |
7 | pkgdesc="GUI tool for setting pointing device such as TrackPoint or Touchpad. Each UI can be written as dynamic loadable module, so a third party can add its own UI. This | |
8 | will replace GSynaptics." | |
9 | arch=('i686' 'x86_64') | |
10 | license=('GPL') | |
11 | url="http://live.gnome.org/GPointingDeviceSettings" | |
12 | depends=( | |
13 | 'gtk2' 'gconf' 'gnome-settings-daemon' | |
14 | ) | |
15 | makedepends=( | |
16 | 'intltool' 'pkgconfig' | |
17 | ) | |
18 | optdepends=( | |
19 | 'xf86-input-synaptics: Synaptics touchpads' | |
20 | 'libsynaptics: Synaptics touchpads' | |
21 | ) | |
22 | ||
23 | source=("http://keihanna.dl.sourceforge.jp/gsynaptics/45812/${pkgname}-${pkgver}.tar.gz") | |
24 | md5sums=('1d1491473df8eabca3c15c997a975d7f') | |
25 | ||
26 | build() { | |
27 | cd "${srcdir}/${pkgname}-${pkgver}" | |
28 | ./configure --prefix=/usr --sysconfdir=/etc || return 1 | |
29 | #./configure || return 1 | |
30 | make || return 1 | |
31 | make DESTDIR=${pkgdir} install || return 1 | |
32 | ||
33 | mkdir -p ${pkgdir}/usr/bin | |
34 | cd ${pkgdir}/usr/bin | |
35 | ||
36 | mkdir -p ${pkgdir}/usr/share/applications | |
37 | ||
38 | # echo '[Desktop Entry] | |
39 | #Encoding=UTF-8 | |
40 | #Name=gpointing-device-settings | |
41 | #Comment=Set your pointing device (such as TrackPoint or Touchpad) preferences | |
42 | #Exec=gpointing-device-settings | |
43 | ##Icon=input-mouse | |
44 | #Icon=input_devices_settings | |
45 | #Terminal=false | |
46 | #Type=Application | |
47 | #StartupNotify=true | |
48 | #Categories=GNOME;GTK;Settings;HardwareSettings;Application; | |
49 | #' > ${pkgdir}/usr/share/applications/gnome-gpointing-device-settings.desktop | |
50 | ||
51 | } |