summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea47a433d342058a1fda44238b5926dfde297294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=chicken-args
_name=args
pkgver=1.6.2
pkgrel=1
pkgdesc='Command-line argument handling, on top of SRFI 37 for Chicken Scheme'
arch=('x86_64')
license=('BSD')
depends=("chicken" "chicken-srfi-1" "chicken-srfi-13" "chicken-srfi-37")
url='http://wiki.call-cc.org/eggref/5/args'

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 {} +
}