From a757f9e28928b1bcb717cbe7821cb6d276d30d7c Mon Sep 17 00:00:00 2001 From: Ivan Sokolov Date: Thu, 3 Jan 2019 10:35:54 +0300 Subject: [PATCH] mit-scheme-c: add alternatives --- srcpkgs/mit-scheme-c/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template index a0f8c591fcd..f7549d24cfa 100644 --- a/srcpkgs/mit-scheme-c/template +++ b/srcpkgs/mit-scheme-c/template @@ -1,7 +1,7 @@ -# Template file for 'mit-scheme-c'. +# Template file for 'mit-scheme-c' pkgname=mit-scheme-c version=9.2 -revision=1 +revision=2 build_wrksrc="src" short_desc="Implementation of the Scheme programming language" maintainer="Andrew Benson " @@ -9,6 +9,10 @@ license="GPL-2.0-or-later" homepage="https://www.gnu.org/software/mit-scheme/" distfiles="${GNU_SITE}/mit-scheme/stable.pkg/${version}/mit-scheme-c-${version}.tar.gz" checksum=4f6a16f9c7d4b4b7bb3aa53ef523cad39b54ae1eaa3ab3205930b6a87759b170 +alternatives=" + scheme:scheme:/usr/bin/mit-scheme + scheme:scheme.1:/usr/share/man/man1/mit-scheme.1 +" nocross="Tries to build parts of the package with itself" do_build() { @@ -17,4 +21,6 @@ do_build() { do_install() { make install DESTDIR=${DESTDIR} + rm ${DESTDIR}/usr/bin/scheme + vman ../doc/scheme.1 mit-scheme.1 }