SHARE
TWEET

Untitled

a guest Sep 12th, 2015 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Serge Zirukin <ftrvxmtrx@gmail.com>
  2.  
  3. pkgname=ocaml-typerex
  4. pkgver=1.0.2
  5. pkgrel=1
  6. pkgdesc="TypeRex is a powerful development environment for OCaml."
  7. arch=("i686" "x86_64")
  8. url=("http://www.typerex.org/")
  9. license=("GPLv3")
  10. depends=("emacs" "ocaml>=3.11.2")
  11. source=("http://www.typerex.org/pub/typerex/typerex-${pkgver}.tar.gz")
  12. md5sums=('SKIP')
  13.  
  14. build() {
  15.   cd "$srcdir/${pkgname/ocaml-/}-${pkgver}"
  16.  
  17.   ./configure --prefix="${pkgdir}/usr"
  18.   make
  19.   sed "s|${pkgdir}[/]*|/|g" -i emacs.append
  20. }
  21.  
  22. package() {
  23.   cd "$srcdir/${pkgname/ocaml-/}-${pkgver}"
  24.   extra="${pkgdir}/usr/share"
  25.  
  26.   make install
  27.   install -d "${extra}/"{licenses,,doc}"/${pkgname}"
  28.   install -m 0644 -t "${extra}/licenses/${pkgname}" LICENSE*
  29.   install -m 0644 -t "${extra}/${pkgname}"          emacs.append
  30.   install -m 0644 -t "${extra}/doc/${pkgname}"      docs/user-manual/*.pdf
  31. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top