#Packager:Didier Spaier didieratslintdotfr pkgname=mate-user-admin pkgver=1.7.0 pkgrel=1 #arch=noarch source=("https://github.com/zhuyaliang/user-admin/archive/refs/tags/v1.7.0.tar.gz") docs=("copying" "README.html") url=https://github.com/zhuyaliang/user-admin #dotnew=() #CFLAGS= #CXXFLAGS= options=('nosrcpack') doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database /usr/share/applications 1> /dev/null 2> /dev/null fi if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Users & groups management tool for the MATE desktop)" ) build() { cd $startdir/src/user-admin-$pkgver if [ -x /sbin/ldconfig ]; then /sbin/ldconfig & fi mkdir build cd build meson \ --buildtype=release \ --infodir=/usr/info \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --mandir=/usr/man \ --prefix=/usr \ --sysconfdir=/etc ninja DESTDIR="$PKG" ninja install }