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

PKGBUILD 13/12/13 ocamlfuse

By: ingamedeo on Dec 13th, 2013  |  syntax: None  |  size: 0.97 KB  |  views: 230  |  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: Hugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar>
  2. # Amedeo <ingamedeo@gmail.com>
  3.  
  4. pkgname=ocamlfuse
  5. pkgver=2.7.1
  6. pkgrel=1
  7. pkgdesc="An ocaml binding for fuse."
  8. arch=('x86_64' 'i686')
  9. url="http://sourceforge.net/apps/mediawiki/ocamlfuse"
  10. license=('GPL2')
  11. depends=(camlidl ocaml-findlib)
  12. source=(https://forge.ocamlcore.org/frs/download.php/1074/$pkgname-$pkgver-cvs.tar.gz)
  13. md5sums=('3e9e7ee2fd89e033a265840ca5aa4d44')
  14.  
  15. build() {
  16.   cd "$srcdir/$pkgname-$pkgver-cvs"
  17.   cp /usr/lib/ocaml/camlidl/com.cma "$srcdir/$pkgname-$pkgver-cvs/lib/"
  18.   cp /usr/lib/ocaml/camlidl/com.cmi "$srcdir/$pkgname-$pkgver-cvs/lib/"
  19.   cp /usr/lib/ocaml/camlidl/com.cmxa "$srcdir/$pkgname-$pkgver-cvs/lib/"
  20.   make -C lib INCDIR=/usr/lib/ocaml/stublibs
  21. }
  22.  
  23. package() {
  24.   cd "$srcdir/$pkgname-$pkgver-cvs"
  25.  
  26.   export OCAMLFIND_INSTFLAGS="-destdir $pkgdir/usr/lib/ocaml/site-lib -ldconf $srcdir/ld.conf"
  27.   install -dm 755 "$pkgdir/usr/lib/ocaml/site-lib/Fuse"
  28.   make -C lib install
  29. }
clone this paste RAW Paste Data