blob: e69ce6463d146f84927c9c719bf9468c026d90fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id: PKGBUILD 198090 2013-10-30 12:44:33Z allan $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=guile1.8
pkgver=1.8.8
pkgrel=3
pkgdesc='Portable, embeddable Scheme implementation written in C. Legacy branch.'
url="http://www.gnu.org/software/guile/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo')
source=(ftp://ftp.gnu.org/pub/gnu/guile/guile-$pkgver.tar.gz)
md5sums=('18661a8fdfef13e2fcb7651720aa53f3')
build() {
cd guile-$pkgver
./configure --prefix=/usr \
--disable-static \
--disable-error-on-warning \
--program-suffix=1.8
make LDFLAGS+="-lpthread"
}
package() {
cd guile-$pkgver
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/info
sed -i '1s/guile/guile1.8/' -i "$pkgdir"/usr/bin/guile-config1.8
mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile18.m4
}
|