summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 536e61be31eafeda2fe006e2875699c399243651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Jeremy MountainJohnson <jskier@gmail.com>
# Contributor: Jeremy MountainJohnson <jskier@gmail.com>

pkgname=xfce-classiclooks
pkgver=1.4.4
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://www.itgroup.ro/WSX/browser.htm?.landingpage=wsx_content/en/linux/classiclooks.html#scroll-page"
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/classiclooks/classiclooks-${pkgver}.zip)
sha512sums=('e8f0bb088728c9c371a8469f6ac59dbb6b66ee6409c1d69fae44aa1751b53043836a30c10575cd31030d9ecf13a0c35e7fddbffe5b759a6ffcb615bc11353b9b')
conflicts=('xfce-evolution-themes')

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/ClassicLooks*; 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"

    # Remove unnecessary TOOLS folder
    rm -rf "$pkgdir/usr/share/themes/ClassicLooks/TOOLS"
}