Advertisement
Guest User

json tiny PKGBUILD perl6

a guest
Sep 11th, 2013
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.65 KB | None | 0 0
  1. pkgname=perl6-json-tiny-git
  2. pkgver=0.1.0.100.g2fe251e
  3. pkgrel=1
  4. pkgdesc="A tiny JSON parser and emitter for Perl 6."
  5. arch=('i686' 'x86_64')
  6. url='https://github.com/moritz/json#readme'
  7. license=('PerlArtistic')
  8. depends=('rakudo')
  9. provides=('perl6-json-tiny')
  10. makedepends=('git' 'perl6-ufo')
  11. source=('json-tiny::git://github.com/moritz/json.git')
  12. md5sums=('SKIP')
  13.  
  14. pkgver() {
  15.     cd json-tiny
  16.     raw_git_ver=$(git describe --always | sed 's|-|.|g')
  17.     echo ${raw_git_ver#version.}
  18. }
  19. build() {
  20.     cd json-tiny
  21.     ufo
  22.     make
  23. }
  24. check() {
  25.     cd json-tiny
  26.     make test
  27. }
  28. package() {
  29.     cd json-tiny
  30.     make DESTDIR=$pkgdir install
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement