summaryrefslogtreecommitdiff
path: root/~brendan
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-09 23:14:53 +0000
committerroot <root@rshg054.dnsready.net>2011-11-09 23:14:53 +0000
commit7b0cdd65ac7bcd3c7597b528a10de58e4e0a430f (patch)
tree94f5e5e8ba53712358886d7a29554a7c5d624563 /~brendan
parentddba9670c1518d9b420db6a6dca01a4a4a4136c7 (diff)
Wed Nov 9 23:14:53 UTC 2011
Diffstat (limited to '~brendan')
-rw-r--r--~brendan/guile/PKGBUILD27
-rw-r--r--~brendan/guile/guile.install23
-rw-r--r--~brendan/libunistring/PKGBUILD27
-rw-r--r--~brendan/libunistring/libunistring.install22
4 files changed, 99 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
diff --git a/~brendan/guile/guile.install b/~brendan/guile/guile.install
new file mode 100644
index 000000000..ed113ab8f
--- /dev/null
+++ b/~brendan/guile/guile.install
@@ -0,0 +1,23 @@
+infodir=usr/share/info
+filelist=(guile.info
+ r5rs.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/~brendan/libunistring/PKGBUILD b/~brendan/libunistring/PKGBUILD
new file mode 100644
index 000000000..634195741
--- /dev/null
+++ b/~brendan/libunistring/PKGBUILD
@@ -0,0 +1,27 @@
+# Former Arch maintainer: Emmanuel 'guinness' Boudreault
+# Current Arch maintainer: Patrick McCarty <pnorcks at gmail dot com>
+# Parabola maintainer: Brendan Tildesley <brendan.tildesley@gmail.com>
+
+pkgname=libunistring
+pkgver=0.9.3
+pkgrel=1
+pkgdesc="GNU library for manipulating Unicode strings and C strings."
+url="http://www.gnu.org/software/libunistring/"
+arch=('i686' 'x86_64')
+license=('GPL3' 'LGPL3')
+depends=('glibc')
+install=${pkgname}.install
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('db8eca3b64163abadf8c40e5cecc261f')
+sha256sums=('610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+} \ No newline at end of file
diff --git a/~brendan/libunistring/libunistring.install b/~brendan/libunistring/libunistring.install
new file mode 100644
index 000000000..58dd2ef8e
--- /dev/null
+++ b/~brendan/libunistring/libunistring.install
@@ -0,0 +1,22 @@
+infodir=usr/share/info
+filelist=(libunistring.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et: