This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

xyproto

By: a guest on Aug 25th, 2011  |  syntax: Bash  |  size: 1.42 KB  |  views: 171  |  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. # Contributor: Alexander Rødseth <rodseth@gmail.com>
  3. pkgname=kompozer
  4. pkgver=0.8b3
  5. pkgrel=4
  6. pkgdesc="A Dreamweaver style WYSIWYG web editor; Nvu unofficial bug-fix release"
  7. arch=('x86_64' 'i686')
  8. license=('GPL')
  9. url="http://www.kompozer.net"
  10. depends=('gtk2' 'glib2' 'pango' 'nss' 'libxt' 'libidl2' 'gnome-vfs')
  11. makedepends=('zip' 'pkgconfig')
  12. options=('!makeflags')
  13. install=(kompozer.install)
  14. source=("http://downloads.sourceforge.net/kompozer/$pkgname-$pkgver-src.tar.bz2"
  15.         "kompozer.desktop"
  16.         "kompozer-png14.patch"
  17.         "mozconfig"
  18.         "https://api.opensuse.org/public/source/mozilla:Factory/kompozer/gcc46_default_ctors.patch")
  19. md5sums=('cd4664ecda908666b19ef0607010c627'
  20.          '783ec7cb74d5154b2f9ca54755c363cb'
  21.          'd5b77df4723cf27131055ed8cecbc4ab'
  22.          '62b8e1d36559c18d638c17c01c4ebde2'
  23.          'ad3ec5cbc6677dd712b140148398f58f')
  24.  
  25. build() {
  26.   cd "$srcdir/mozilla"
  27.  
  28.   patch -Np0 -i $srcdir/kompozer-png14.patch
  29.   patch -Np0 -i $srcdir/gcc46_default_ctors.patch
  30.  
  31.   cp ../mozconfig .mozconfig
  32.   cp security/coreconf/Linux2.6.mk security/coreconf/Linux3.0.mk
  33.  
  34.   make -f client.mk build
  35. }
  36.  
  37. package() {
  38.   cd "$srcdir/obj-kompozer"
  39.  
  40.   make DESTDIR=$pkgdir install
  41.   install -m755 -dD $pkgdir/usr/share/applications
  42.   install -m644  $srcdir/kompozer.desktop $pkgdir/usr/share/applications/
  43. }
  44.  
  45. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data