diff options
author | Brendan <brendan@tiddles.me> | 2013-06-27 20:22:52 +1000 |
---|---|---|
committer | Brendan <brendan@tiddles.me> | 2013-06-27 20:22:52 +1000 |
commit | 949ee72ae4bf239e60c86db4f55ea4e809a54e6c (patch) | |
tree | e6303ba988071fb8fc3466a55e43426ef9496478 /~brendan | |
parent | bf69f302f87eb836d5ebec3a9ea67f2b54401ceb (diff) | |
download | abslibre-949ee72ae4bf239e60c86db4f55ea4e809a54e6c.tar.gz abslibre-949ee72ae4bf239e60c86db4f55ea4e809a54e6c.tar.bz2 abslibre-949ee72ae4bf239e60c86db4f55ea4e809a54e6c.zip |
Revert "Deleting my ~brendan directory because it is not needed."
This reverts commit a6b628ef005727ee5baab0b23066438f62098172.
Diffstat (limited to '~brendan')
-rw-r--r-- | ~brendan/guile/PKGBUILD | 32 | ||||
-rw-r--r-- | ~brendan/guile/guile.install | 23 |
2 files changed, 55 insertions, 0 deletions
diff --git a/~brendan/guile/PKGBUILD b/~brendan/guile/PKGBUILD new file mode 100644 index 000000000..af8827563 --- /dev/null +++ b/~brendan/guile/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Patrick McCarty <pnorcks at gmail dot com> +# Contributor: Emmanuel 'guinness' Boudreault +# Parabola Maintainer: Brendan Tildesley (brendyn) +# +# This is `guile-devel' from AUR, with very little changes. +pkgname=guile +pkgver=2.0.5 +pkgrel=1 +pkgdesc="GNU Ubiquitous Intelligent Language for Extensions - a portable, embeddable Scheme implementation written in C" +url="http://www.gnu.org/software/guile/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gmp>=4.3.1' 'libtool' 'ncurses>=5.7' 'texinfo' + 'libunistring' 'gc' 'libffi') +conflicts=('guile' 'guile-git') +provides=("guile=$pkgver") +install=guile.install +options=('!libtool') +source=(ftp://ftp.gnu.org/pub/gnu/guile/guile-${pkgver}.tar.gz) +sha256sums=('2a026ea6cdbc51ca71bcd9787839debfa45ac5db1e26dc00b30ca9b128b10956') + +build() { + cd "${srcdir}/guile-${pkgver}" + + ./configure --prefix=/usr + make LDFLAGS+="-lpthread" +} + +package() { + cd "${srcdir}/guile-${pkgver}" + make DESTDIR="${pkgdir}" install +} 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: |