1 pkgname=mate-sensors-applet-git
4 pkgdesc="An applet for the MATE Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings under Linux"
6 url="https://github.com/mate-desktop/mate-sensors-applet"
8 depends=('mate-panel' 'lm_sensors' 'udisks' 'xdg-utils')
9 makedepends=('intltool' 'mate-doc-utils' 'git' 'autoconf' 'automake')
11 install=$pkgname.install
13 _gitroot="https://github.com/mate-desktop/mate-sensors-applet.git"
14 _gitname="mate-sensors-applet"
18 msg "Connecting to the GIT server...."
20 if [[ -d $srcdir/$_gitname ]] ; then
23 msg "The local files are updated."
27 msg "GIT checkout done"
29 cd "$srcdir/$_gitname"
32 ./configure LDFLAGS="-ldl" --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
33 --disable-static --disable-scrollkeeper
38 cd "$srcdir/$_gitname"
39 make DESTDIR="$pkgdir/" install