updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / cde / PKGBUILD
blobc990afe3cb887f0e4bb3e4e07144dde794e19824
1 # Maintainer: Patrick Palka <patrick@parcs.ath.cx>
2 # Development: http://parcs.ath.cx:99/pub/patrick/to.php?cde
3 # Development: http://git.lambda.ath.cx:99/
5 pkgname=cde
6 pkgver=2011.01.03
7 pkgrel=1
8 pkgdesc="automatic packaging of Code, Data, and Environment"
9 url="http://www.stanford.edu/~pgbovine/cde.html"
10 arch=('i686' 'x86_64')
11 license=('BSD')
12 if [ "$CARCH" = "i686" ]; then
13     suffix=32bit
14     md5sums=('f37738dd07fd9561899d0489839f8815')
15 else
16     suffix=64bit
17     md5sums=('c6131d658f74d54f9bd17d5a38c0320c')
19 infix=$(echo $pkgver | tr "." "-")
20 file="cde_${infix}_${suffix}"
22 source=("https://github.com/downloads/pgbovine/CDE/${file}")
24 package() {
25     cd $srcdir
26     install -Dm755 "$file" "${pkgdir}/usr/bin/cde"