summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3eca520e3a902fcc6cb942b948fa8ad6cde66927 (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
# Maintainer: Thorsten Wissmann <edu _at_ thorsten-wissmann _dot_ de>
# Contributor: Javier "Phrodo_00" Aravena <phrodo.00@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=gtk-engine-rezlooks
pkgver=0.6
pkgrel=12
pkgdesc="Clean looking gtk theme engine based on the cairo-enabled CVS clearlooks engine code."
arch=('i686' 'x86_64')
url="http://www.gnome-look.org/content/show.php?content=39179"
license=('GPL')
depends=('gtk2')
options=('!libtool')
# the previous name was gtk-rezlooks-engine, but nowadays, all gtk engine
# packages have the prefix 'gtk-engine-'
conflicts=('gtk-rezlooks-engine')
replaces=('gtk-rezlooks-engine')
source=( 'https://mirrors.evowise.com/gentoo/distfiles/39179-rezlooks-0.6.tar.gz')
sha256sums=('a7dbc45ba32b8f1f40a097d7bafbdff595464c4af16a5bbb9febf63d15cab699')

prepare() {
	cd "${srcdir}/rezlooks-${pkgver}"
	./configure --prefix=/usr --enable-animation
	sed 's/glib\/gtimer/glib/g' -i src/animation.c
}

build() {
	cd "${srcdir}/rezlooks-${pkgver}"
	make
}

package() {
	cd "${srcdir}/rezlooks-${pkgver}"

	make DESTDIR="${pkgdir}" install
	install -d "${pkgdir}/usr/share/themes"
}