summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32598aa14984c458d07e7cd1cc322a6b55c557ad (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
# Maintainer: Will Price <will.price94+aur@gmail.com>
pkgname=antlrworks
pkgver=2.1
pkgrel=1
pkgdesc="A netbeans based grammar IDE"
arch=('x86_64' 'i686')
url="http://tunnelvisionlabs.com/products/demo/antlrworks"
license=('GPL')
depends=('java-environment')
makedepends=()
options=(!strip libtool staticlibs)
source=("http://tunnelvisionlabs.com/downloads/antlr/2013-07-21-${pkgname}-${pkgver}.zip")
md5sums=('1460c73704e1bda9182b7279f9ca9b6e')

package() {
	cd "${srcdir}/${pkgname}${pkgver%%.*}"
	mkdir -p "${pkgdir}/"{etc,usr/{share/antlrworks,bin}}
  chmod +x bin/antlrworks2
  cp -r * "${pkgdir}/usr/share/antlrworks"
  #mv "${pkgdir}/usr/share/antlrworks/etc" "${pkgdir}/"

  cd "${pkgdir}/usr/bin"
  ln -s "/usr/share/antlrworks/bin/antlrworks2" antlrworks
}