# Description: The Control Center for MATE # URL: https://mate-desktop.org/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: libmatekbd libayatana-appindicator marco librsvg mate-menus libgtop udisks name=mate-control-center version=1.28.0 release=1 source=(https://pub.mate-desktop.org/releases/${version%.*}/${name}-${version}.tar.xz) build() { cd $name-$version # remove systemd stuff sed -i '19302,19392d' configure mkdir bin echo "#!/bin/sh true" > bin/update-desktop-database chmod +x bin/update-desktop-database export PATH=$PATH:$PWD/bin ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-update-mimedb \ --disable-schemas-compile \ --disable-systemd make make DESTDIR=$PKG install }