# Maintainer: Jeremy MountainJohnson # Contributor: Jeremy MountainJohnson pkgname=xfce-evolution-themes pkgver=7.0.5 pkgrel=1 pkgdesc="The Xfce Evolution theme attempts to rid the Xfce desktop of visual distractions by providing a more consistent look (buttons, scrollbars, menus, etc) across older and newer applications." arch=('any') url="http://itgroup.ro/xfce-evolution" license=(GPLv2) depends=(gtk-engine-murrine) optdepends=(lib32-gtk-engine-murrine qt5-styleplugins noto-fonts elementary-xfce-icons nemo) source=(https://downloads.sourceforge.net/project/xfce-evolution/xfce-evolution-${pkgver}.zip) sha512sums=('db8238c8187f3adfa725fb07572e88c96c2eee173444d82772ca996dcc2c7b64262c1f0f6eddf18f21c3973d47c5068dba46db94f72fa002fdce0663664e562d') package() { # Set correct mode on files from zip source extraction find $srcdir -type f -exec chmod 644 {} + find $srcdir -type d -exec chmod 755 {} + # Prepare all theme directories for package for i in $srcdir/Xfce\ Evolution*; do if [ -d "$i" ]; then install -dm 755 "$pkgdir/usr/share/themes/${i##*/}" cp -rp "${i##*/}" "$pkgdir/usr/share/themes/" fi done # Copy QT font fix over to global font conf install -dm 755 "$pkgdir/etc/fonts/conf.avail/" "$pkgdir/etc/fonts/conf.d" # Removed in 4.22 #install -Dm 644 "$srcdir/Xfce Evolution/90-xfce-evolution_qt5fontfix.conf" "$pkgdir/etc/fonts/conf.avail/91-qt5-xfce-evolution-fix.conf" #ln -s "../conf.avail/91-qt5-xfce-evolution-fix.conf" "$pkgdir/etc/fonts/conf.d/91-qt5-xfce-evolution-fix.conf" # Remove unnecessary TOOLS folder rm -rf "$pkgdir/usr/share/themes/Xfce Evolution/TOOLS" }