summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c7299e46dd62a5ecf511def19a91d27c363401e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=chicken-sendfile
_name=sendfile
pkgver=2.0
pkgrel=1
pkgdesc='Chicken Scheme Sending a file over the network'
arch=('x86_64')
license=('BSD')
depends=("chicken" "chicken-memory-mapped-files")
url='http://wiki.call-cc.org/eggref/5/sendfile'

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 | xargs -I {} cp {} ${pkgdir}/usr/lib/chicken/11
}