aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/gtk-equinox-engine/APKBUILD
blob: 3f5b3ad2bdcf68471696d4e5dcd849e7f4e3e424 (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
48
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gtk-equinox-engine
pkgver=1.50
pkgrel=0
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-$pkgver.tar.gz"

_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="f5ab68e50e128ee5186265b80d5cf1bd  121881-equinox-1.50.tar.gz"