archrelease: copy trunk to extra-x86_64
[arch-packages.git] / guile1.8 / trunk / PKGBUILD
blob510a6c92e6d9f9c32158b3e5976c6d580be6aef6
1 # Contributor: BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
3 pkgname=guile1.8
4 pkgver=1.8.8
5 pkgrel=8
6 pkgdesc='Portable, embeddable Scheme implementation written in C. Legacy branch.'
7 url="https://www.gnu.org/software/guile/"
8 arch=('x86_64')
9 license=('GPL')
10 depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo')
11 source=(https://ftp.gnu.org/pub/gnu/guile/guile-$pkgver.tar.gz)
12 md5sums=('18661a8fdfef13e2fcb7651720aa53f3')
14 build() {
15   cd guile-$pkgver
16   export CFLAGS+=" -O1"
17   ./configure --prefix=/usr \
18         --disable-static  \
19         --disable-error-on-warning \
20         --program-suffix=1.8
21   make
24 package() {
25   cd guile-$pkgver
26   make DESTDIR="$pkgdir" install
27   
28   rm -rf "$pkgdir"/usr/share/info
29   sed -i '1s/guile/guile1.8/' -i "$pkgdir"/usr/bin/guile-config1.8
30   mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile18.m4