summaryrefslogtreecommitdiff
path: root/pcr/xfce-theme-greybird/PKGBUILD
blob: c4f356cf2ec2257d1e6d007901b8be4f6859fd1d (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
40
# Maintainer (Arch):	M.Reynolds <blackboxnetworkproject@gmail.com>
# Contributor (Arch):	Bjoern Franke <bjo at nord-west.org>
# Contributor (Arch):	flan_suse
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=xfce-theme-greybird
pkgver=3.20.1
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=('31da67ba87e90e28b37ebe5f29e0250b1c3478be96ef3f0131409c333f9d5c11')

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"
}