updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / rstudio-desktop-bin / PKGBUILD
blobcdb67fae48f897e683b67a294736a50f2c6479a9
1 # Contributor: Meow < meow@linux.cn >
3 pkgname=rstudio-desktop-bin
4 pkgver=0.94.110
5 pkgrel=1
6 pkgdesc="A new integrated development environment (IDE) for R"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url="http://www.rstudio.org/"
10 depends=('r>=2.11.1' 'pango>=1.14.0' 'glibc>=2.7')
11 conflicts=('rstudio-desktop' 'rstudio-desktop-git')
12 provides=("rstudio-desktop=${pkgver}")
14 _arch=i386
15 source=("http://download1.rstudio.org/rstudio-${pkgver}-${_arch}.deb")
16 md5sums=('ca931071612a97932e8873443a414578')
17 [ "$CARCH" = "x86_64" ] && {
18 _arch=amd64
19 source=("http://download1.rstudio.org/rstudio-${pkgver}-${_arch}.deb")
20 md5sums=('a15e83ca7711f88264302d40fbdd8d26')
24 package() {
25   msg "Converting debian package"
26   cd $srcdir
27   tar zxpf data.tar.gz -C $pkgdir
28   mkdir -p $pkgdir/usr/bin
29   cd $pkgdir/usr/bin
30   ln -s -f ../lib/rstudio/bin/rstudio rstudio-bin