diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/guile | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/extra/guile')
-rw-r--r-- | abs/extra/guile/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/extra/guile/guile.install | 27 |
2 files changed, 53 insertions, 0 deletions
diff --git a/abs/extra/guile/PKGBUILD b/abs/extra/guile/PKGBUILD new file mode 100644 index 0000000..3721e3f --- /dev/null +++ b/abs/extra/guile/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 23033 2009-01-01 17:11:52Z jgc $ +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=guile +pkgver=1.8.6 +pkgrel=1 +pkgdesc="Guile is a portable, embeddable Scheme implementation written in C" +url="http://www.gnu.org/software/guile/" +arch=(i686 x86_64) +license=('GPL') +depends=('gmp' 'libtool' 'ncurses>=5.6-7' 'texinfo') +install=guile.install +source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) +options=('!libtool') +md5sums=('9e23d3dbea0e89bab8a9acc6880150de') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-networking \ + --disable-error-on-warning || return 1 + make LDFLAGS+="-lpthread" || return 1 + make DESTDIR="${pkgdir}" install || return 1 + rm -f "${pkgdir}/usr/share/info/dir" + gzip "${pkgdir}/usr/share/info"/* || return 1 +} diff --git a/abs/extra/guile/guile.install b/abs/extra/guile/guile.install new file mode 100644 index 0000000..8fab0b1 --- /dev/null +++ b/abs/extra/guile/guile.install @@ -0,0 +1,27 @@ +files=(goops.info + guile-tut.info + guile.info + guile.info-1 + guile.info-2 + guile.info-3 + guile.info-4 + guile.info-5 + guile.info-6 + guile.info-7 + r5rs.info) + +post_install() { + for f in "${files[@]}"; do + install-info usr/share/info/${f}.gz usr/share/info/dir 2>/dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in "${files[@]}"; do + install-info --delete usr/share/info/${f}.gz usr/share/info/dir 2> /dev/null + done +} |