joschi / PKGBUILD secret
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

ruby-build 20120216-1

View PKGBUILD
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.