Skip to content

Instantly share code, notes, and snippets.

@joschi

joschi/PKGBUILD Secret

Created February 25, 2012 16:27
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save joschi/ce30170bde3b99da8dfd to your computer and use it in GitHub Desktop.
ruby-build 20120216-1
# 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