summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e73a048a1ea0229fde63cc52938dae38138d26fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=chicken-srfi-180
_name=srfi-180
pkgver=1.0.0
pkgrel=1
pkgdesc='Chicken Scheme library describes a JavaScript Object Notation (JSON) parser and printer. It supports JSON that may be bigger than memory'
arch=('x86_64')
license=('MIT')
depends=("chicken" "chicken-r7rs" "chicken-srfi-60" "chicken-srfi-145")
url='http://wiki.call-cc.org/eggref/5/srfi-180'

build() {
  CHICKEN_INSTALL_REPOSITORY=${srcdir} CHICKEN_INSTALL_PREFIX=${srcdir} chicken-install -no-install-dependencies $_name:$pkgver
}
package() {
  install -d ${pkgdir}/usr/lib/chicken/11
  find ${srcdir} -maxdepth 1 -type f -exec cp -t ${pkgdir}/usr/lib/chicken/11 {} +
}