main/guile: modernise, disable check, fix license

This commit is contained in:
A. Wilcox 2018-02-07 15:31:35 -06:00 committed by William Pitcock
parent b3b6f60109
commit 0e31088488

View File

@ -10,7 +10,8 @@ pkgrel=0
pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
url="https://www.gnu.org/software/guile/"
arch="all"
license="GPL"
options="!check" # Requires actual LC_COLLATE and LC_MONETARY support.
license="LGPL-3.0+, GPL-3.0+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
makedepends="gmp-dev libtool ncurses-dev texinfo libunistring-dev libffi-dev
gc-dev"
@ -30,14 +31,13 @@ build() {
--host=$CHOST \
--prefix=/usr \
--disable-error-on-warning \
--disable-static \
|| return 1
make || return 1
--disable-static
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/charset.alias
}