summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72f555232ec2d5808226ffb7828be8b8f97323a4 (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
36
37
38
39
# Maintainer:   M.Reynolds <blackboxnetworkproject@gmail.com>
# Contributor:  Bjoern Franke <bjo at nord-west.org>
# Contributor:  flan_suse

pkgname=xfce-theme-greybird
pkgver=3.22.5
pkgrel=1
pkgdesc="A grey and blue Xfce theme."
arch=('any')
url="https://github.com/shimmerproject/Greybird"
license=('CCPL:by-sa-3.0' 'GPL')
groups=('xfce-themes-shimmer-collection')
conflicts=("$pkgname-git")
depends=('gtk-engine-murrine')
optdepends=('elementary-xfce-icons: matching icon set; use the dark icon theme'
    'gtk3: required for CSS/GTK3 theme'
    'lightdm-gtk-greeter: required for the LightDM GTK theme'
    'lightdm-unity-greeter: required for the LightDM Unity theme'
    'shimmer-wallpapers: contains the Greybird wallpaper, among others'
    'lib32-gtk-engine-murrine: required for multilib')
source=("$pkgname-$pkgver.tar.gz"::"https://github.com/shimmerproject/Greybird/archive/v$pkgver.tar.gz")
sha256sums=('a4c0f5f8172fa7035c35668099715e3e33be249b2dfaf48dbed480991a5b8563')

package() {
    cd "$srcdir"

    install -dm 755 "$pkgdir/usr/share/themes/Greybird Classic"
    install -dm 755 "$pkgdir/usr/share/themes/Greybird Compact"
    install -dm 755 "$pkgdir/usr/share/themes/Greybird a11y"

    cp -r  "Greybird-$pkgver/" "$pkgdir/usr/share/themes/Greybird/"
    rm -rf "$pkgdir/usr/share/themes/Greybird/.gitignore"

    ln -s  "/usr/share/themes/Greybird/xfwm4-compact" \
           "$pkgdir/usr/share/themes/Greybird Compact/xfwm4"

    ln -s  "/usr/share/themes/Greybird/xfwm4-a11y" \
           "$pkgdir/usr/share/themes/Greybird a11y/xfwm4"
}