summaryrefslogtreecommitdiffstats
path: root/testing/elementary-gtk-theme/APKBUILD
blob: 6d5a0430eb9da8cc3435b55a53f668572bb8d543 (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:
pkgname=elementary-gtk-theme
pkgver=2.1
pkgrel=1
pkgdesc="gtk theme designed to go with elementary icons"
url="http://launchpad.net/egtk"
arch="noarch"
license="GPL"
depends="elementary-icon-theme gtk-murrine-engine"
makedepends="wget"
install=""
subpackages=
source="http://67.202.104.180/~nenolod/egtk.tar.gz"

_builddir="${srcdir}/egtk"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "${pkgdir}"/usr/share/themes/elementary
	cp -R gtk-2.0 "${pkgdir}"/usr/share/themes/elementary
	ln -sf /usr/share/themes/elementary/gtk-2.0 \
		"${pkgdir}"/usr/share/themes/elementary/gtk-3.0
	cp -R metacity-1 "${pkgdir}"/usr/share/themes/elementary
	cp -R xfwm4 "${pkgdir}"/usr/share/themes/elementary
}

md5sums="9886680fe5f0c7910a560aba95f0cad8  egtk.tar.gz"