summaryrefslogtreecommitdiffstats
path: root/main/faenza-icon-theme/APKBUILD
blob: c34d10124b80b9c2818eab0b1e8ebdc1410afb52 (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
41
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=faenza-icon-theme
pkgver=0.8
pkgrel=1
pkgdesc="icons designed to go in tandem with equinox themes"
arch="noarch"
url="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
license="GPL"
depends=
makedepends="wget"
install=
subpackages=
source="https://launchpad.net/~tiheum/+archive/equinox/+files/faenza-icon-theme_$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

package() {
	cd "$_builddir"

	mkdir -p "$pkgdir"/usr/share/icons
	cp -dpRf Faenza* "$pkgdir"/usr/share/icons

	for i in 16 22 24 32 48; do
		mv "$pkgdir"/usr/share/icons/Faenza/places/$i/start-here-gnome.png \
		   "$pkgdir"/usr/share/icons/Faenza/places/$i/start-here.png

		mv "$pkgdir"/usr/share/icons/Faenza-Dark/places/$i/start-here-gnome.png \
		   "$pkgdir"/usr/share/icons/Faenza-Dark/places/$i/start-here.png
	done

	for i in scalable; do
		mv "$pkgdir"/usr/share/icons/Faenza/places/$i/start-here-gnome.svg \
		   "$pkgdir"/usr/share/icons/Faenza/places/$i/start-here.svg

		mv "$pkgdir"/usr/share/icons/Faenza-Dark/places/$i/start-here-gnome.svg \
		   "$pkgdir"/usr/share/icons/Faenza-Dark/places/$i/start-here.svg
	done
}

md5sums="c4f87cf4105d2330a259296f8e73e709  faenza-icon-theme_0.8.tar.gz"