🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
pkgname: guile
pkgver: '3.0.11'
pkgrel: '1'
pkgdesc: 'Guile is an interpreter and compiler for the Scheme programming language.'
url: 'http://www.gnu.org/software/guile/guile.html'
arch: x86_64
depends: []
makedepends:
- gc
- libunistring
- libffi
- libtool
- gmp
- libxcrypt
source:
- 'https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/guile-${pkgver}
make
make html
makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi
makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi
make DESTDIR=${PKGDIR} install
install -v -m755 -d ${PKGDIR}/usr/share/gdb/auto-load/usr/lib
mv ${PKGDIR}/usr/lib/libguile-*-gdb.scm ${PKGDIR}/usr/share/gdb/auto-load/usr/lib
install -v -m755 -d ${PKGDIR}/usr/share/doc/guile-${pkgver}
find examples -name "Makefile*" -delete
cp -vR examples ${PKGDIR}/usr/share/doc/guile-${pkgver}
for DIRNAME in r5rs ref
do
install -v -m755 -d ${PKGDIR}/usr/share/doc/guile-${pkgver}/${DIRNAME}
install -v -m644 doc/${DIRNAME}/*.txt \
${PKGDIR}/usr/share/doc/guile-${pkgver}/${DIRNAME}
done
unset DIRNAME
package: |
true