summaryrefslogtreecommitdiffstats
path: root/abs/extra/ruby/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/ruby/PKGBUILD
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/ruby/PKGBUILD')
-rw-r--r--abs/extra/ruby/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/extra/ruby/PKGBUILD b/abs/extra/ruby/PKGBUILD
new file mode 100644
index 0000000..4a4cdd0
--- /dev/null
+++ b/abs/extra/ruby/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 26958 2009-02-14 23:32:24Z jgc $
+# Maintainer: dorphell <dorphell@archlinux.org>
+# Contributors: John Proctor <jproctor@prium.net>
+# Jeramy Rutley <jrutley@gmail.com>
+pkgname=ruby
+pkgver=1.8.7_p72
+_pkgver=1.8.7-p72
+pkgrel=3
+pkgdesc="An object-oriented language for quick and easy programming"
+arch=(i686 x86_64)
+license=('custom')
+url="http://www.ruby-lang.org/en/"
+depends=('gdbm>=1.8.3' 'db>=4.7.25' 'openssl>=0.9.8j' 'zlib>=1.2.3.3' 'readline>=5.2.013')
+makedepends=('tk>=8.5')
+source=(ftp://ftp.ruby-lang.org/pub/ruby/stable/${pkgname}-${_pkgver}.tar.bz2)
+options=('!emptydirs' 'force')
+md5sums=('0b215c46b89b28d7ab8d56d96e72d5b9')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ ./configure --prefix=/usr --enable-shared --enable-pthread || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ #generate the ri docs
+ make -j1 DESTDIR="${pkgdir}" install-doc || return 1
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+}