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.

PKGBUILD 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Maintainer: John Jenkins twodopeshaggy@gmail.com
  2. # Contributor: Tobias Kieslich <tobias@justdreams.de>
  3. # InStagingBy: Damir Perisa <damir.perisa@bluewin.ch>
  4. # Contributor: damir <damir@archlinux.org>
  5. pkgname=gtk-smooth-engine
  6. pkgver=0.6.0.1
  7. _spkgver=0.5.8
  8. pkgrel=5
  9. pkgdesc="The smooth-engine for gtk1 - including smooth-themes for gtk1 and gtk2"
  10. arch=(i686 x86_64)
  11. url="http://sourceforge.net/projects/smooth-engine"
  12. license=('LGPL')
  13. depends=('gtk-engines' 'gdk-pixbuf')
  14. replaces=('gtk2-smooth-engine')
  15. conflicts=('gtk2-smooth-engine')
  16. makedepends=('pkg-config')
  17. options=('!libtool')
  18. source=(http://downloads.sourceforge.net/smooth-engine/${pkgname}-${pkgver}.tar.gz \
  19. http://downloads.sourceforge.net/smooth-engine/smooth-themes-$_spkgver.tar.gz
  20. deprecated_macros.patch free_border.patch careless.patch)
  21. md5sums=('a2231118c8187649d1e634fdfe6f36de' 'a46c592261c4d371498d644eece6493e'
  22. 'f2fcb7c088735ff0f07915987097755b' 'd018dc9be612514fc921bb12fd7d7070'
  23. 'ddebde49a8db05578b3c561bfa8b34f9')
  24. build() {
  25. cd "$srcdir"/gtk-smooth-engine-$pkgver
  26. sed -i -e 's/-DGDK_DISABLE_DEPRECATED//' engines/gtk2/Makefile.in
  27. patch -Np1 -i "$srcdir"/deprecated_macros.patch
  28. patch -Np1 -i "$srcdir"/free_border.patch
  29. patch -Np1 -i "$srcdir"/careless.patch
  30. ./configure --prefix=/usr --disable-gtk-2 --enable-gtk-1
  31. make
  32. cd "$srcdir"/smooth-themes-$_spkgver
  33. ./configure --prefix=/usr --disable-gtk-2 --enable-gtk-1
  34. make
  35. }
  36. package() {
  37. cd "$srcdir"/gtk-smooth-engine-$pkgver
  38. make DESTDIR="$pkgdir" install
  39. cd "$srcdir"/smooth-themes-$_spkgver
  40. make DESTDIR="$pkgdir" install
  41. }