You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.6 KiB
47 lines
1.6 KiB
# Maintainer: John Jenkins twodopeshaggy@gmail.com |
|
# Contributor: Tobias Kieslich <tobias@justdreams.de> |
|
# InStagingBy: Damir Perisa <damir.perisa@bluewin.ch> |
|
# Contributor: damir <damir@archlinux.org> |
|
|
|
pkgname=gtk-smooth-engine |
|
pkgver=0.6.0.1 |
|
_spkgver=0.5.8 |
|
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" |
|
license=('LGPL') |
|
depends=('gtk-engines' 'gdk-pixbuf') |
|
replaces=('gtk2-smooth-engine') |
|
conflicts=('gtk2-smooth-engine') |
|
makedepends=('pkg-config') |
|
options=('!libtool') |
|
source=(http://downloads.sourceforge.net/smooth-engine/${pkgname}-${pkgver}.tar.gz \ |
|
http://downloads.sourceforge.net/smooth-engine/smooth-themes-$_spkgver.tar.gz |
|
deprecated_macros.patch free_border.patch careless.patch) |
|
md5sums=('a2231118c8187649d1e634fdfe6f36de' 'a46c592261c4d371498d644eece6493e' |
|
'f2fcb7c088735ff0f07915987097755b' 'd018dc9be612514fc921bb12fd7d7070' |
|
'ddebde49a8db05578b3c561bfa8b34f9') |
|
|
|
build() { |
|
cd "$srcdir"/gtk-smooth-engine-$pkgver |
|
sed -i -e 's/-DGDK_DISABLE_DEPRECATED//' engines/gtk2/Makefile.in |
|
|
|
patch -Np1 -i "$srcdir"/deprecated_macros.patch |
|
patch -Np1 -i "$srcdir"/free_border.patch |
|
patch -Np1 -i "$srcdir"/careless.patch |
|
./configure --prefix=/usr --disable-gtk-2 --enable-gtk-1 |
|
make |
|
|
|
cd "$srcdir"/smooth-themes-$_spkgver |
|
./configure --prefix=/usr --disable-gtk-2 --enable-gtk-1 |
|
make |
|
} |
|
|
|
package() { |
|
cd "$srcdir"/gtk-smooth-engine-$pkgver |
|
make DESTDIR="$pkgdir" install |
|
|
|
cd "$srcdir"/smooth-themes-$_spkgver |
|
make DESTDIR="$pkgdir" install |
|
} |