Skip to content

Instantly share code, notes, and snippets.

@jferris
Last active August 29, 2015 14:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jferris/7a5ca8f0f3473e3cd928 to your computer and use it in GitHub Desktop.
Package build for ruby-build 20141113
# Maintainer: Vincent Demeester <vincent@sbr.io>
# Contributer: Alex Ogier <alex.ogier@gmail.com>
pkgname=ruby-build
pkgver=20141113
pkgrel=1
pkgdesc="Compile and install Ruby"
arch=('any')
url="http://github.com/sstephenson/ruby-build"
license=('MIT')
optdepends=('git: install ruby from git')
source=($url/tarball/v$pkgver)
echo $source
md5sums=('a7052555751b623c1281b8d0fb9cc1f3')
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