secret
Created

ruby-build 20120216-1

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# Maintainer: Alex Ogier <alex.ogier@gmail.com>
# Contributor: Jochen Schalanda <jochen+aur (-AT-) schalanda.name>
pkgname=ruby-build
pkgver=20120216
pkgrel=1
pkgdesc="Compile and install Ruby"
arch=('any')
url="http://github.com/sstephenson/ruby-build"
license=('MIT')
conflicts=('ruby-build-git')
optdepends=('git: install ruby from git')
source=($url/tarball/v$pkgver)
md5sums=('a65e73dee5929ffe4366352a9240f0b6')
 
build() {
cd $srcdir
 
tar -x --strip-components 1 -zf "v$pkgver"
}
 
package() {
cd $srcdir
 
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
PREFIX="$pkgdir/usr" ./install.sh
}
ruby-build-20120216-1.src.tar.gz

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.