updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / rbenv / PKGBUILD
blobab8c04934f09a122db4c619722552a4cbb6beaa7
1 # Maintainer: Vladimir Chizhov <jagoterr@gmail.com>
2 pkgname=rbenv
3 pkgver=0.2.1
4 pkgrel=1
5 pkgdesc="Simple Ruby version manager"
6 arch=('any')
7 license=('MIT')
8 depends=('ruby')
9 conflicts=('rbenv-git')
10 source=("https://github.com/sstephenson/rbenv/zipball/v${pkgver}")
11 md5sums=('849b0f4cf256e1fe50a489a636b707b5')
12 url="https://github.com/sstephenson/rbenv"
14 build() {
15   cd $srcdir
16   cd sstephenson-rbenv-01a0ad0
17   mkdir -p $pkgdir/usr/bin
18   mkdir -p $pkgdir/usr/share/rbenv/libexec
19   mkdir -p $pkgdir/usr/share/licenses/$pkgname
20   install -m 644 ./LICENSE $pkgdir/usr/share/licenses/$pkgname
21   install -m 755 ./libexec/* $pkgdir/usr/share/rbenv/libexec/
22   ln -s /usr/share/rbenv/libexec/rbenv $pkgdir/usr/bin/