Skip to content

Instantly share code, notes, and snippets.

@kennytm
Created November 28, 2012 13:05
Show Gist options
  • Save kennytm/4161153 to your computer and use it in GitHub Desktop.
Save kennytm/4161153 to your computer and use it in GitHub Desktop.
PKGBUILD for rust-bin 0.4-3
# Maintainer: Chris Bolton <[email protected]>
# Contributor: kennytm <[email protected]>
pkgname=rust-bin
pkgver=0.4
pkgrel=3
pkgdesc="A safe, concurrent, practical programming language."
arch=(i686 x86_64)
url="http://rust-lang.org"
license=('MIT')
depends=(gcc-libs)
if test "$CARCH" == x86_64; then
source=(https://launchpad.net/~kevincantu/+archive/rust/+build/3906980/+files/rust_0.4-3%7Equantal_amd64.deb)
md5sums=('f55257b3ffdcf6bc42d082757bcf47e4')
else
source=(https://launchpad.net/~kevincantu/+archive/rust/+build/3906981/+files/rust_0.4-3%7Equantal_i386.deb)
md5sums=('d7377d9dfaffa249ec6d7606bf0ab85d')
fi
package() {
cd "$srcdir"
tar -C $pkgdir -xf data.tar.gz
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment