Want more features on Pastebin? Sign Up, it's FREE!
Guest

icc_examin_0.51_PKGBUILD

By: a guest on Mar 11th, 2012  |  syntax: None  |  size: 1.24 KB  |  views: 46  |  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. PKGBUILD
  2. ========
  3. pkgname=icc_examin
  4. pkgver=0.51
  5. pkgrel=1
  6. pkgdesc="ICC Examin is a colour management utility."
  7. url="http://oyranos.org/"
  8. arch=('i686' 'x86_64')  
  9. makedepends=()
  10. depends=(ftgl fltk openicc oyranos)
  11. optdepends=(argyllcms)
  12. source=("http://prdownloads.sourceforge.net/oyranos/$pkgname-$pkgver.tar.bz2"
  13.         "configure_tests.patch")
  14. md5sums=('e2db40c31596ba2d08cd2612de496289'
  15.          '071357527239098b9b099268def5fab9')
  16. license=('MIT')
  17.  
  18. build() {
  19.     cd $srcdir/$pkgname-$pkgver
  20.     unset LDFLAGS
  21.     patch -Np0 <"$srcdir"/configure_tests.patch
  22.     PKG_CONFIG_PATH=/usr/lib64/pkgconfig:"$PKG_CONFIG_PATH"
  23.     export PKG_CONFIG_PATH
  24.  
  25.     ./configure --prefix=/usr --enable-threads --enable-xft --enable-shared || return 1
  26.     make || return 1
  27.     make DESTDIR=$pkgdir install
  28.  
  29. }
  30.  
  31. configure_tests.patch
  32. =====================
  33. --- configure_tests.sh  2012-03-11 12:39:07.580639217 +0100
  34. +++ configure_tests.sh.new      2012-03-11 12:39:44.857591740 +0100
  35. @@ -3,7 +3,7 @@
  36.  set > testset.txt
  37.  ERROR=0
  38.  WARNING=0
  39. -STRIPOPT='s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//'
  40. +STRIPOPT='s/-Wl[^ ]*//g ; s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//'
  41.  
  42.  mkdir -p tests
clone this paste RAW Paste Data