Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Kompozer GCC4.7 test PKGBUILD

By: a guest on Apr 17th, 2012  |  syntax: None  |  size: 1.60 KB  |  hits: 128  |  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=6
  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. source=("http://downloads.sourceforge.net/kompozer/$pkgname-$pkgver-src.tar.bz2"
  13.         "kompozer.desktop"
  14.         "kompozer-libpng15.patch"
  15.         "kompozer-libpng14.patch"
  16.         "mozconfig"
  17.         "https://api.opensuse.org/public/source/mozilla:Factory/kompozer/gcc46_default_ctors.patch"
  18.         "http://sites.google.com/site/secondhelper75/gcc-47_.patch")
  19. md5sums=('cd4664ecda908666b19ef0607010c627'
  20.          'f4341a1d6137be67d715ee58a074fa36'
  21.          '4852034f99e7943071946e7eedc6c2f5'
  22.          'd5ba90f7fbaed76f77a6d9717e86f3a5'
  23.          '62b8e1d36559c18d638c17c01c4ebde2'
  24.          'ad3ec5cbc6677dd712b140148398f58f'
  25.          'fcbb0ad066d450e795804c5e0a2f830f')
  26.  
  27. build() {
  28.   cd "$srcdir/mozilla"
  29.  
  30.   patch -Np0 -i $srcdir/kompozer-libpng14.patch
  31.   patch -Np0 -i $srcdir/kompozer-libpng15.patch
  32.   patch -Np0 -i $srcdir/gcc46_default_ctors.patch
  33.   patch -Np1 -i ${srcdir}/gcc-47_.patch
  34.  
  35.   cp ../mozconfig .mozconfig
  36.   cp security/coreconf/Linux2.6.mk security/coreconf/Linux3.2.mk
  37.   cp security/coreconf/Linux2.6.mk security/coreconf/Linux3.3.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. }