updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / pycharm-eap / PKGBUILD
blobfd33645a389727d67147143d7b04d97b604ed721
1 # Maintainer: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
2 pkgname=pycharm-eap
3 _buildver=111.81
4 pkgver=2.0.${_buildver}
5 pkgrel=1
6 pkgdesc="Powerful Python and Django IDE, Early Access Program (EAP) build"
7 arch=('i686' 'x86_64')
8 url="http://www.jetbrains.com/pycharm/"
9 license=("custom")
10 depends=("java-environment>=6")
11 changelog="CHANGES"
12 source=("http://download.jetbrains.com/python/pycharm-${_buildver}.tar.gz")
13 md5sums=('66859868b688ca0dfc80e2d3a88e811a')
15 build() {
16   cd "${srcdir}"
17   mkdir -p "${pkgdir}/opt/${pkgname}" || return 1
18   cp -R "${srcdir}/pycharm-${_buildver}/"* "${pkgdir}/opt/${pkgname}" || return 1
19   if [[ $CARCH = 'i686' ]]; then
20      rm -f "${pkgdir}/opt/${pkgname}/bin/libyjpagent64.so"
21      rm -f "${pkgdir}/opt/${pkgname}/bin/fsnotifier64"
22   fi
23   mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
24   install -m 644 "${srcdir}/pycharm-${_buildver}/license/PyCharm_license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/PyCharm_license.txt"