aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gtk-equinox-engine/APKBUILD
blob: b6b8ec214a0323409c586b03fed63a65c2ce415f (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
42
43
44
45
46
47
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gtk-equinox-engine
pkgver=1.30.2
pkgrel=1
pkgdesc="enhanced cairo-based GTK+ engine"
url="http://gnome-look.org/content/show.php/Equinox+GTK+Engine"
license="GPL"
arch="all"
depends=
makedepends="gtk+-dev"
install=
subpackages=
source="http://gnome-look.org/CONTENT/content-files/121881-equinox-1.30.tar.bz2"

_builddir="$srcdir"/equinox-${pkgver%.*}

prepare() {
	cd "$srcdir"

	msg "Unpacking GTK+ engine"
	tar zxf equinox-gtk-engine.tar.gz

	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install

	mkdir -p "$pkgdir"/usr/share/themes
	cd "$pkgdir"/usr/share/themes

	msg "Unpacking themes"
	tar zxf "$srcdir"/equinox-themes.tar.gz
}

md5sums="07d43dede6bdc17ba74f1740a3743601  121881-equinox-1.30.tar.bz2"