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

opencde old pkgbuild

By: Vogelfrey on Mar 2nd, 2012  |  syntax: None  |  size: 1.03 KB  |  views: 4  |  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: Thomas Dziedzic < gostrc at gmail >
  2.  
  3. pkgname=opencde
  4. pkgver=620
  5. pkgrel=1
  6. pkgdesc="OpenCDE is a free implementation of the Open Group's Common Desktop Environment."
  7. arch=('i686' 'x86_64')
  8. url='http://devio.us/~kpedersen/index.php'
  9. license=('BSD')
  10. depends=('openmotif')
  11. source=("http://devio.us/~kpedersen/releases/${pkgname}-${pkgver}.tar.gz")
  12. md5sums=('b9558b0366c9ed4ca8449abb40b060d3')
  13.  
  14.  
  15. build() {
  16.   cd ${pkgname}/src
  17.  
  18.   # fix build errors
  19.   unset CFLAGS CXXFLAGS LDFLAGS
  20.  
  21. ##  sed -i "s_PREFIX=/usr/local_PREFIX=${pkgdir}/usr_" config.Mk
  22. ##  sed -i "s_PREFIX=/usr/local_PREFIX=/usr_" config.Mk
  23.  
  24. ##  sed -i 's/$(CC) -c $(CPPFLAGS) $< -o $@/$(CC) -fPIC -c $(CPPFLAGS) $< -o $@/' motifmm/Makefile
  25. sed -i "s_-lmotifmm_-lmotifmm -lXm -lXt -lX11_" dtpanel/Makefile
  26.  
  27.   make
  28. }
  29.  
  30. package() {
  31.   cd ${pkgname}
  32.  
  33.   # probably need to submit patch to upstream
  34.   #install -d ${pkgdir}/usr/bin
  35.  
  36.   # removed in 0.4.1 again...
  37.   #make install
  38.  
  39.   install -d ${pkgdir}/usr
  40.   cp -r bin share etc lib ${pkgdir}/usr
  41. }
clone this paste RAW Paste Data