#Packager: George Vlahavas pkgname=mugshot pkgver=0.4.3 pkgrel=1gv source=("https://github.com/bluesabre/mugshot/releases/download/mugshot-$pkgver/mugshot-$pkgver.tar.gz") docs=("authors" "install" "readme.md" "copying" "news") url=https://github.com/bluesabre/mugshot doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 fi fi if [ -e usr/share/glib-2.0/schemas ]; then if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 fi fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mugshot (User Management Utility for Linux)" "Mugshot is a lightweight user configuration utility for Linux designed" "for simplicity and ease of use. Quickly update your personal profile" "and sync your updates across applications." ) build() { cd $startdir/src/$pkgname-$pkgver python3 setup.py install --prefix=/usr --root=$startdir/pkg }