Package build for ruby-build 20141113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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