summaryrefslogtreecommitdiff
path: root/~brendan/guile/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~brendan/guile/PKGBUILD')
-rw-r--r--~brendan/guile/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/~brendan/guile/PKGBUILD b/~brendan/guile/PKGBUILD
new file mode 100644
index 000000000..c6297290a
--- /dev/null
+++ b/~brendan/guile/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Brendan Tildesley <brendan.tildesley@gmail.com>
+pkgname=guile
+pkgver=2.0.3
+pkgrel=1
+pkgdesc="GNU Ubiquitous Intelligent Language for Extensions - portable Scheme implementation written in C."
+url="http://www.gnu.org/software/guile/"
+license=('GPL3' 'LGPL3')
+arch=(i686 x86_64 mips64el)
+depends=('gmp>=4.1' 'libtool' 'gettext' 'libunistring' 'gc' 'libffi')
+builddepends=('pkgconfig')
+install=guile.install
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+sha1sums=('4fde55bbd612adda267420d86d8b395d49031809')
+# I think .xz is only provided for latest release, so change to .gz if it vanishes
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-error-on-warning
+ make LDFLAGS+="-lpthread"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+} \ No newline at end of file