extra/guile to 1.8.8-1

This commit is contained in:
Kevin Mihelich 2011-02-09 16:28:19 -05:00
parent dbb1bd3db0
commit f7364c7c01

View file

@ -1,33 +1,31 @@
# $Id: PKGBUILD 72807 2010-03-20 04:06:14Z allan $
# $Id: PKGBUILD 109127 2011-02-06 11:24:26Z andyrtr $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# - Patch to add -P for cpp, our newer version does things different
plugrel=1
pkgname=guile
pkgver=1.8.7
pkgrel=2
pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
pkgver=1.8.8
pkgrel=1
pkgdesc="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.7' 'texinfo')
install=guile.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
arm.patch)
options=('!libtool' '!makeflags')
md5sums=('991b5b3efcbbc3f7507d05bc42f80a5e'
'6c02500d12b732ecf9117fb99e9cb9f6')
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
options=('!libtool')
md5sums=('18661a8fdfef13e2fcb7651720aa53f3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ${srcdir}/arm.patch
./configure --prefix=/usr --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
./configure --prefix=/usr \
--disable-static \
--disable-error-on-warning
make LDFLAGS+="-lpthread"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}