# Tanım: MATE paneli için appletler
# URL: http://www.mate-desktop.org/
# Paketçi: yasarciv67@gmail.com
# Gerekler: intltool itstool gtksourceview3 libgtop libnotify mate-panel polkit dbus-python python-gobject upower wireless-tools

isim=mate-applets
surum=1.18.1
devir=1
kaynak=(http://pub.mate-desktop.org/releases/${surum%.*}/$isim-$surum.tar.xz)

derle() {
cd $isim-$surum
sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
    PYTHON=/usr/bin/python2 ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --libexecdir=/usr/lib/$isim \
        --enable-polkit \
        --enable-ipv6
  make
  make DESTDIR=$PKG install
}

