pkgname=picrin pkgver=0.1 pkgrel=1 pkgdesc="Picrin is a lightweight R7RS scheme implementation written in pure C89." arch=('i686' 'x86_64') url='https://github.com/picrin-scheme/picrin' license=('MIT') depends=('perl' 'glibc' 'libedit') makedepends=('git' 'make' 'gcc') source=("https://github.com/picrin-scheme/picrin/archive/v${pkgver}.tar.gz") md5sums=('99f4aa0ae885a3c7b09bb3bdf0d3adf8') build() { cd "${srcdir}/${pkgname}-${pkgver}" make } package() { cd "${srcdir}/${pkgname}-${pkgver}" install -dm755 "${pkgdir}/usr/bin" make install prefix="${pkgdir}/usr" install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }