summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 17:11:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 17:11:57 (GMT)
commitb506b70796d502df5dbd0ed3cde3405b2c0605ca (patch)
treee94cf17893009a40d87ed41f6eb28ebf7519621c /abs/extra-testing
parent9567b2cee338e3c6db164af89febb5e46a199024 (diff)
downloadlinhes_pkgbuild-b506b70796d502df5dbd0ed3cde3405b2c0605ca.zip
linhes_pkgbuild-b506b70796d502df5dbd0ed3cde3405b2c0605ca.tar.gz
linhes_pkgbuild-b506b70796d502df5dbd0ed3cde3405b2c0605ca.tar.bz2
Updating ca-cetificates & adding ruby
Diffstat (limited to 'abs/extra-testing')
-rw-r--r--abs/extra-testing/ruby/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/extra-testing/ruby/PKGBUILD b/abs/extra-testing/ruby/PKGBUILD
new file mode 100644
index 0000000..4a4cdd0
--- /dev/null
+++ b/abs/extra-testing/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
+}