summaryrefslogtreecommitdiff
path: root/community/intellij-idea-libs/PKGBUILD
blob: 4f803c005942f081e507a8873b5652e1719de17b (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 79196 2012-10-31 12:36:36Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=intellij-idea-libs
pkgver=11.1.4
_pkgver=117.963
pkgrel=1
pkgdesc="Architecture dependend libraries needed by the Intellij Idea IDE"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.jetbrains.org/"
license=('apache')
depends=('glibc')
source=(http://download.jetbrains.com/idea/ideaIC-$pkgver.tar.gz)
md5sums=('e4a8d95573c8b00e2f6722ac63efde0d')

build() {
  cd "$srcdir"

  install -d -m755 "$pkgdir/usr/share/intellijidea-ce/bin"
  install -d -m755 "$pkgdir/usr/lib"

  [ $CARCH == "x86_64" ] && SUFFIX=64
  install -m755 "idea-IC-$_pkgver"/bin/fsnotifier${SUFFIX} "$pkgdir"/usr/share/intellijidea-ce/bin/
  install -m644 "idea-IC-$_pkgver"/bin/libbreakgen${SUFFIX}.so "$pkgdir"/usr/lib
}

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