updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wordfreak / PKGBUILD
blobccc92ee7f1a2421c0a9722388de292fae5ba2514
1 # Maintainer: jpate <j.k.pate@sms.ed.ac.uk>
2 pkgname=wordfreak
3 pkgver=2.2
4 maintainer="jpate"
5 pkgrel=1
6 pkgdesc="A java-based linguistic annotation tool designed to support human, and automatic annotation of linguistic data"
7 arch=('any')
8 url="http://wordfreak.sourceforge.net/"
9 license=('Mozilla Public License')
10 depends=( 'java-runtime' )
11 source=("http://kent.dl.sourceforge.net/project/wordfreak/wordfreak/${pkgver}/wordfreak-${pkgver}.jar")
12 noextract=('wordfreak-${pkgver}.jar')
13 md5sums=('a0e07e8be0ef68df5b25294af1ec24f8')
15 build() {
16   cd $startdir/
18   mkdir -p $pkgdir/usr/bin/
19   mkdir -p $pkgdir/usr/share/wordfreak/
20   cp $srcdir/wordfreak-${pkgver}.jar $pkgdir/usr/share/wordfreak/
22   echo "#!/bin/sh" > $pkgdir/usr/bin/wordfreak
23   echo "java -Xmx512m -jar /usr/share/wordfreak/wordfreak-${pkgver}.jar  \"\$@\"" >> $pkgdir/usr/bin/wordfreak
24   chmod a+x $pkgdir/usr/bin/wordfreak