Advertisement
Guest User

Untitled

a guest
Jun 8th, 2011
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. pkgname=metacity-ubuntu
  2. pkgver=2.34.0
  3. _uver=0ubuntu1
  4. pkgrel=1
  5. pkgdesc="A window manager for GNOME - patched with some Ubuntu's patches"
  6. arch=(i686 x86_64)
  7. license=('GPL')
  8. depends=('startup-notification' 'gconf' 'zenity' 'libcanberra' 'libgtop' 'libwnck' 'libsm')
  9. makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils' 'gnome-common')
  10. url="http://www.gnome.org"
  11. options=('!libtool' '!emptydirs')
  12. install=metacity.install
  13. source=("http://archive.ubuntu.com/ubuntu/pool/main/m/metacity/metacity_${pkgver}.orig.tar.gz"
  14. "http://archive.ubuntu.com/ubuntu/pool/main/m/metacity/metacity_${pkgver}-${_uver}.debian.tar.gz")
  15. provides=('metacity=2.34.0')
  16. conflicts=('metacity')
  17. md5sums=('6aa192db95717e9557ba7c61a47edf98'
  18. '1b02f729a5ede7b72b680a5901c2b743')
  19.  
  20. build() {
  21. cd "${srcdir}/${pkgname/-ubuntu/}-${pkgver}"
  22. patch -Np1 -i $srcdir/debian/patches/01_Wcast-align.patch
  23. patch -Np1 -i $srcdir/debian/patches/03_strict_focus.patch
  24. patch -Np1 -i $srcdir/debian/patches/04_support_drag_drop_with_alt_tab.patch
  25. patch -Np1 -i $srcdir/debian/patches/05_raise_on_click_for_click_mode.patch
  26. patch -Np1 -i $srcdir/debian/patches/06_Add_UXD_shadows_and_borders.patch
  27. patch -Np1 -i $srcdir/debian/patches/10_no-ws-switcher.patch
  28. patch -Np1 -i $srcdir/debian/patches/11_hide_tooltip_on_decorator.patch
  29. patch -Np1 -i $srcdir/debian/patches/12_dont-show-as-user.patch
  30. patch -Np1 -i $srcdir/debian/patches/13_better_support_for_button_layout.patch
  31. patch -Np1 -i $srcdir/debian/patches/14_wrong_colormap.patch
  32. patch -Np1 -i $srcdir/debian/patches/15_show_maximized_titlebars.patch
  33. patch -Np1 -i $srcdir/debian/patches/16-capture-before-unmap.patch
  34. patch -Np1 -i $srcdir/debian/patches/17-workspace-switcher-cycle.patch
  35. patch -Np1 -i $srcdir/debian/patches/18-auto-maximize-windows.patch
  36. patch -Np1 -i $srcdir/debian/patches/99_ltmain_as-needed.patch
  37. patch -Np1 -i $srcdir/debian/patches/100_fade_on_long_title.patch
  38. ./configure --prefix=/usr --sysconfdir=/etc \
  39. --libexecdir=/usr/lib/metacity \
  40. --localstatedir=/var --disable-static
  41. make
  42. }
  43.  
  44. package() {
  45. cd "${srcdir}/${pkgname/-ubuntu/}-${pkgver}"
  46. make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
  47.  
  48. install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  49. gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain metacity ${pkgdir}/etc/gconf/schemas/*.schemas
  50. rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement