updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gtk2-smooth-engine / PKGBUILD
bloba082af1ce8cdb040257e33c648c713b59d7d565e
1 # Contributor: Connor Behan <connor.behan@gmail.com>
3 pkgname=gtk2-smooth-engine
4 pkgver=0.6.0.1
5 _spkgver=0.5.8
6 pkgrel=4
7 pkgdesc="Smooth themes for gtk2 without the need for gtk1"
8 arch=(i686 x86_64)
9 url="http://sourceforge.net/projects/smooth-engine"
10 license=('LGPL')
11 depends=('gtk-engines')
12 replaces=('gtk-smooth-engine')
13 conflicts=('gtk-smooth-engine')
14 options=('!libtool')
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)
19 build() {
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
23   aclocal || return 1
24   autoconf || 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
31   make || 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
36   make || return 1
37   make DESTDIR=$pkgdir install || return 1
39 md5sums=('a2231118c8187649d1e634fdfe6f36de' 'a46c592261c4d371498d644eece6493e' 'f2fcb7c088735ff0f07915987097755b' 'd018dc9be612514fc921bb12fd7d7070' 'ddebde49a8db05578b3c561bfa8b34f9')