Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 22nd, 2012  |  syntax: None  |  size: 1.50 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Terry Mitchell <tcmdvm@charter.net>
  2. pkgname=kompozer
  3. pkgver=0.8b3
  4. pkgrel=5
  5. pkgdesc="A Dreamweaver style WYSIWYG web editor; Nvu unofficial bug-fix release"
  6. arch=('x86_64' 'i686')
  7. license=('GPL')
  8. url="http://www.kompozer.net"
  9. depends=('gtk2' 'glib2' 'pango' 'nss' 'libxt' 'libidl2' 'gnome-vfs')
  10. makedepends=('zip' 'pkgconfig')
  11. options=('!makeflags')
  12. install="kompozer.install"
  13. source=("kompozer-0.8b3-src.tar.bz2"
  14.         "kompozer.desktop"
  15.         "kompozer-png14.patch"
  16.         "mozconfig"
  17.         "https://api.opensuse.org/public/source/mozilla:Factory/kompozer/gcc46_default_ctors.patch"
  18.                 "http://gentoo-overlays.zugaina.org/sabayon/portage/app-editors/kompozer/files/kompozer-libpng15.patch"
  19.                 )
  20. md5sums=('cd4664ecda908666b19ef0607010c627'
  21.          'f4341a1d6137be67d715ee58a074fa36'
  22.          'd5b77df4723cf27131055ed8cecbc4ab'
  23.          '62b8e1d36559c18d638c17c01c4ebde2'
  24.          'ad3ec5cbc6677dd712b140148398f58f'
  25.          '5550172a1b93472989c0a37de9a50d64'
  26.                  )
  27.  
  28.  
  29. build() {
  30.   cd "$srcdir/mozilla"
  31.  
  32.   patch -Np0 -i $srcdir/kompozer-png14.patch
  33.   patch -Np0 -i $srcdir/kompozer-libpng15.patch
  34.   patch -Np0 -i $srcdir/gcc46_default_ctors.patch
  35.  
  36.   cp ../mozconfig .mozconfig
  37.   cp security/coreconf/Linux2.6.mk security/coreconf/Linux3.1.mk
  38.  
  39.   make -f client.mk build
  40. }
  41.  
  42. package() {
  43.   cd "$srcdir/obj-kompozer"
  44.  
  45.   make DESTDIR=$pkgdir install
  46.   install -m755 -dD $pkgdir/usr/share/applications
  47.   install -m644  $srcdir/kompozer.desktop $pkgdir/usr/share/applications/
  48. }