Date: Tuesday, May 4, 2010 @ 22:02:13 Author: dgriffiths Revision: 79651
FS#19141 Modified: gtk-smooth-engine/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-05-05 01:52:01 UTC (rev 79650) +++ PKGBUILD 2010-05-05 02:02:13 UTC (rev 79651) @@ -6,7 +6,7 @@ pkgname=gtk-smooth-engine pkgver=0.6.0.1 _spkgver=0.5.8 -pkgrel=4 +pkgrel=5 pkgdesc="The smooth-engine for gtk1 - including smooth-themes for gtk1 and gtk2" arch=(i686 x86_64) url="http://sourceforge.net/projects/smooth-engine" @@ -14,11 +14,17 @@ depends=('gtk-engines' 'gdk-pixbuf') options=('!libtool') source=(http://downloads.sourceforge.net/smooth-engine/${pkgname}-${pkgver}.tar.gz \ - http://downloads.sourceforge.net/smooth-engine/smooth-themes-$_spkgver.tar.gz) -md5sums=('a2231118c8187649d1e634fdfe6f36de' 'a46c592261c4d371498d644eece6493e') + http://downloads.sourceforge.net/smooth-engine/smooth-themes-$_spkgver.tar.gz + deprecated_macros.patch free_border.patch) +md5sums=('a2231118c8187649d1e634fdfe6f36de' 'a46c592261c4d371498d644eece6493e' + 'f2fcb7c088735ff0f07915987097755b' 'd018dc9be612514fc921bb12fd7d7070') build() { cd ${srcdir}/${pkgname}-${pkgver} + + patch -p1 < ${srcdir}/deprecated_macros.patch || return 1 + patch -p1 < ${srcdir}/free_border.patch || return 1 + ./configure --prefix=/usr --enable-gtk-1 --disable-gtk-2 || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1
