description="Library with common API for various MATE modules" url="https://mate-desktop.org/" packager="Tnut " contributors="Fanch,Greg,Remy,Spiky" makedepends=(dconf gtk3 gobject-introspection) run=(startup-notification iso-codes gtk-update-icon-cache) set=(mate) name=mate-desktop version=1.26.0 release=2 source=(https://pub.mate-desktop.org/releases/${version%.*}/${name}-${version}.tar.xz) build() { cd $name-$version sed -i "s|@datadir@/backgrounds/mate/desktop/Stripes.png|/usr/share/backgrounds/nutyx/nutyx.jpg|" \ schemas/org.mate.background.gschema.xml.in ./configure \ --prefix=/usr \ --disable-schemas-compile make sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make DESTDIR=$PKG install # Obsolet lib rm $PKG/usr/lib/libmate-desktop-2.la } uptodate() { feed=https://github.com/mate-desktop/$name/releases.atom exec="lynx -read_timeout=20 -dump -listonly -nonumbers $feed" $exec $feed | grep release | grep title | head -1 | \ sed -e "s@ @@g" -e "s@$name@@" -e "s@release@@" }