summaryrefslogtreecommitdiff
path: root/community/intellij-idea-libs/PKGBUILD
blob: 8c6750c5f5639a13b6da6d1555cff46a261ac507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 108116 2014-03-23 10:11:55Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=intellij-idea-libs
pkgver=13.1.1
_pkgver=135.480
pkgrel=1
pkgdesc="Architecture dependent libraries needed by the Intellij Idea IDE"
arch=('i686' 'x86_64')
url="http://www.jetbrains.org/"
license=('Apache')
depends=('glibc')
options=(!strip)
source=(http://download.jetbrains.com/idea/ideaIC-$pkgver.tar.gz)
md5sums=('a20ade9bc4addbc341af8dcc1a0830ce')

package() {
  [ $CARCH == "x86_64" ] && SUFFIX=64
  install -D -m755 "idea-IC-$_pkgver"/bin/fsnotifier${SUFFIX} "$pkgdir"/usr/share/intellijidea-ce/bin/fsnotifier${SUFFIX}
  install -D -m644 "idea-IC-$_pkgver"/bin/libbreakgen${SUFFIX}.so "$pkgdir"/usr/lib/libbreakgen${SUFFIX}.so
  
  # libpty
  [ $CARCH == "x86_64" ] && _ARCH=x86_64 || _ARCH=x86
  install -D -m644 "idea-IC-$_pkgver"/lib/libpty/linux/$_ARCH/libpty.so "$pkgdir"/usr/share/intellijidea-ce/lib/libpty/linux/$_ARCH/libpty.so
}

# vim:set ts=2 sw=2 et: