1 # Contributor: Connor Behan <connor.behan@gmail.com>
3 pkgname=gtk2-smooth-engine
7 pkgdesc="Smooth themes for gtk2 without the need for gtk1"
9 url="http://sourceforge.net/projects/smooth-engine"
11 depends=('gtk-engines')
12 replaces=('gtk-smooth-engine')
13 conflicts=('gtk-smooth-engine')
15 source=(http://downloads.sourceforge.net/smooth-engine/gtk-smooth-engine-$pkgver.tar.gz \
16 http://downloads.sourceforge.net/smooth-engine/smooth-themes-$_spkgver.tar.gz \
17 deprecated_macros.diff free_border.diff careless.diff)
20 cd $srcdir/gtk-smooth-engine-$pkgver
21 sed -i -e 's/-DGDK_DISABLE_DEPRECATED//' engines/gtk2/Makefile.am
22 libtoolize --force --copy || return 1
25 automake --add-missing || return 1
27 patch -Np1 -i $srcdir/deprecated_macros.diff || return 1
28 patch -Np1 -i $srcdir/free_border.diff || return 1
29 patch -Np1 -i $srcdir/careless.diff || return 1
30 ./configure --prefix=/usr --enable-gtk-2 --disable-gtk-1 || return 1
32 make DESTDIR=$pkgdir install || return 1
34 cd $srcdir/smooth-themes-$_spkgver
35 ./configure --prefix=/usr --enable-gtk-2 --disable-gtk-1 || return 1
37 make DESTDIR=$pkgdir install || return 1
39 md5sums=('a2231118c8187649d1e634fdfe6f36de' 'a46c592261c4d371498d644eece6493e' 'f2fcb7c088735ff0f07915987097755b' 'd018dc9be612514fc921bb12fd7d7070' 'ddebde49a8db05578b3c561bfa8b34f9')