Package Details: gerbil-scheme-git v0.18.1_87_g1ccf1302-1

Git Clone URL: https://aur.archlinux.org/gerbil-scheme-git.git (read-only, click to copy)
Package Base: gerbil-scheme-git
Description: Gerbil is an opinionated dialect of Scheme designed for Systems Programming, with a state of the art macro and module system on top of the Gambit runtime.
Upstream URL: https://cons.io
Licenses: Apache 2.0, LGPLv2.1
Conflicts: gerbil-scheme
Provides: gerbil-scheme
Submitter: ecraven
Maintainer: cvnb (ecraven)
Last Packager: cvnb
Votes: 5
Popularity: 0.000000
First Submitted: 2017-09-07 08:37 (UTC)
Last Updated: 2024-04-09 18:27 (UTC)

Latest Comments

cvnb commented on 2023-10-04 10:53 (UTC) (edited on 2023-10-06 01:18 (UTC) by cvnb)

@ecraven, I have made updates to the PKGBUILD to build off the tip.

Changes:
  - Updated source from github.com/vyzo to github.com/mighty-gerbils
  - Removed gambit-c from depends and makedepends as upstreams builds and uses a pinned gambit-c for both build and runtime
  - Added openssl, zlib and sqlite as dependency to build with upstream defaults
  - Added a pkgver() to update PKGBUILD's pkgver tag
  - Updated build() and package() functions to be thin wrappers over upstream installation instructions
  - Removed GERBIL_HOME as upstream have deprecated requiring this env variable.
  - Corrected here-document to not have $PATH expanded during package build

# Maintainer: Peter <craven@gmx.net>
pkgname=gerbil-scheme-git
_pkgname=gerbil
pkgver=0
pkgrel=1
pkgdesc="Gerbil is an opinionated dialect of Scheme designed for Systems Programming, with a state of the art macro and module system on top of the Gambit runtime."
arch=(x86_64 i686)
url="https://cons.io"
source=("git+https://github.com/mighty-gerbils/gerbil.git")
sha1sums=("SKIP")
license=('LGPLv2.1' 'Apache 2.0')
depends=('openssl' 'zlib' 'sqlite')
makedepends=('git')
provides=("gerbil-scheme")
conflicts=("gerbil-scheme")

# Use git describe to derive the version as is done by upstream. See 
# ./configure:60, gerbil_version. pkgver() derived this way will contain
# hyphens. Since pkgver cannot contain hyphens, substitute - with _
pkgver() {
  cd "$_pkgname"
  git describe --tags --always | sed 's/-/_/g'
}

build() {
  cd "$_pkgname"
  ./configure --prefix=/opt/gerbil
  make
}

package() {
  cd "$_pkgname"
  make DESTDIR=${pkgdir} install

  mkdir -p ${pkgdir}/etc/profile.d/
  cat <<'EOF' > ${pkgdir}/etc/profile.d/gerbil-scheme.sh
export PATH=/opt/gerbil/bin:$PATH
EOF
}

# vim:set ts=2 sw=2 et:

Please let me know for any questions. If you are good with the changes, please consider updating the PKGBUILD.

Lattay commented on 2019-12-11 16:23 (UTC)

Hello, gambit-c is a runtime dependency and not a make dependency only. It make the package impossible to use unless gambit-c have been installed before.

Morganamilo commented on 2018-06-08 02:39 (UTC)

Your .SRCINFO file is duplicated. You probably used >> instead of > when making it.