Guest User

ragel-dev

a guest
Sep 16th, 2022
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.18 KB | Source Code | 0 0
  1. # Maintainer:  Ilya Terentyev <[email protected]>
  2. # Contributor: Zachary Lund <[email protected]>
  3. # Contributor: Timothy Redaelli <[email protected]>
  4. # Contributor: Michael P <[email protected]>
  5. # Contributor: Roberto Alsina <[email protected]>
  6. # Contributor: Will Chappell <[email protected]>
  7. # Contributor: Jesse Young <[email protected]>
  8. # Contributor: Gustavo Alvarez <[email protected]>
  9.  
  10. pkgname=ragel-dev
  11. pkgver=7.0.4
  12. pkgrel=1
  13. pkgdesc="Compiles finite state machines from regular languages into executable C, C++, Objective-C, C#, ASM, D, Go, Java, Ruby, OCaml, Crack, Rust or Julia code."
  14. arch=('i686' 'x86_64')
  15. url="http://www.complang.org/ragel/"
  16. license=('GPL')
  17. makedepends=('colm>=0.14.7' 'fig2dev' 'texlive-bin' 'dblatex')
  18. depends=('gcc-libs')
  19. conflicts=('ragel')
  20. source=("https://www.colm.net/files/ragel/ragel-$pkgver.tar.gz")
  21. md5sums=('2ca4f5507c1923bcf9a7909baa8254d3')
  22.  
  23. build() {
  24.   cd "$srcdir/ragel-$pkgver"
  25.  
  26.   ./configure --prefix=/usr --with-colm=/usr
  27.   make
  28. }
  29.  
  30. package() {
  31.   cd "$srcdir/ragel-$pkgver"
  32.  
  33.   make DESTDIR="$pkgdir/" install
  34.   install -m0644 -D ragel.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/ragel.vim
  35. }
Advertisement
Add Comment
Please, Sign In to add comment