summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6203c92634eee308be8986e112c8e967dbaf5fa2 (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
27
28
# Maintainer: Daichi Shinozaki <dsdseg@gmail.com>
# Contributor: ahmad200512@yandex.ru
pkgname=fantom
pkgver=1.0.69
pkgrel=1
pkgdesc="Programming language supposed to run on top of JVM or CLR or in browser as JavaScript"
arch=('i686' 'x86_64')
url="http://fantom.org/"
license=('custom:Academic Free License 3.0')
depends=('java-runtime')
install=$pkgname.install
source=(https://bitbucket.org/fantom/fan-1.0/downloads/${pkgname}-${pkgver}.zip LICENSE 
 fantom.profile)
md5sums=('b2a44fcf3c12096163428ba31cdf5e9e'
         '6f6f26e10fee5edcfa0dff72274e6d28'
         '24709c14c5d3b5e12e5bfd2712d7a2f4')
options=('!purge')
replaces=('fan-language')
package() {
  mkdir -p ${pkgdir}/opt/${pkgname}
  rm $srcdir/${pkgname}-${pkgver}/bin/*.exe
  chmod 755 $srcdir/${pkgname}-${pkgver}/bin/*
  cp -R ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/opt/${pkgname}
  install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/fantom/LICENSE
  install -Dm644 ${srcdir}/fantom.profile ${pkgdir}/etc/profile.d/fantom.sh
}

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