1 # Contributor: Claudio Riva <firetux83@gmail.com>
3 pkgname=lock-keys-applet
6 pkgdesc="Lock keys applet is a gnome2 applet, that shows the status of the CAPS-, NUM- and SCROLL-Lock keys of your keyboard."
7 url="http://www.wh-hms.uni-ulm.de/~mfcn/lock-keys-applet/"
10 depends=('gnome-panel-bonobo')
11 makedepends=('intltool' 'gnome-doc-utils')
12 #source=(http://www.wh-hms.uni-ulm.de/~mfcn/shared/lock-keys/$pkgname-$pkgver.tar.gz)
13 source=(${pkgname}-${pkgver}.tar.gz)
14 md5sums=('8dc772d62f0881c8978513d7e69de3db')
17 cd $startdir/src/$pkgname-$pkgver
18 #GtkTooltips deprecated in gtk 2.12, it's been replaced with GtkTooltip
19 sed -i 's|GtkTooltips |GtkTooltip |g' src/lock-keys-applet.c
20 sed -i 's|gtk_tooltips_set_tip;|gtk_tooltip_set_text|g' src/lock-keys-applet.c
21 #GTK_SIGNAL_FUNC deprecated in gtk 2.14 it's been replace with G_CALLBACK
22 sed -i 's|GTK_SIGNAL_FUNC|G_CALLBACK|g' src/lock-keys-applet.c
23 ./configure --prefix=`pkg-config libpanelapplet-2.0 --variable=prefix`
25 make DESTDIR=$startdir/pkg install