summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5fdab9a2ca085b1a54bff65d5cefec7608055d3 (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=13
pkgdesc="Clean looking gtk theme engine based on the cairo-enabled CVS clearlooks engine code."
arch=('i686' 'x86_64')
url="https://www.gnome-look.org/p/1080201/"
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://github.com/t-wissmann/rezlooks-gtk-engine/raw/main/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"
}