1 # Contributor: Joachim Fasting <joachim.fasting@gmail.com>
5 pkgdesc="A major mode for Emacs-Scheme interaction"
7 url="http://www.nongnu.org/geiser/"
9 optdepends=('racket: supported scheme implementation'
10 'guile: supported scheme implementation')
12 makedepends=('automake' 'git')
13 install=geiser.install
17 _gitroot="git://git.sv.gnu.org/geiser.git"
23 if [ -d "${srcdir}/${_gitname}/.git" ] ; then
24 cd "${_gitname}" && git pull origin || return 1
26 git clone "${_gitroot}" || return 1
28 cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
30 cd "${srcdir}/${_gitname}-build" || return 1
31 ./autogen.sh || return 1
32 ./configure --prefix="/usr" || return 1
34 make DESTDIR="${pkgdir}" install || return 1
36 install -D -m644 COPYING \
37 "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
39 rm -rf "${srcdir}/${_gitname}-build"
42 # vi: set ft=sh ts=2 sw=2 sts=2 :