summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b21c4a13c86088a815d45eb501cdb2e4b9a7e712 (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
29
# Maintainer: Aaron DeVore <aaron.devore@gmail.com>
# Contributor: Henning Garus <henning.garus@gmail.com>

pkgname=jflex
pkgver=1.6.1
pkgrel=1
pkgdesc="A lexer generator written in Java"
arch=('any')
url="http://www.jflex.de/"
license=('GPL')
depends=('java-environment' 'bash')
changelog='Changelog'
source=(http://jflex.de/$pkgname-$pkgver.tar.gz
        jflex.sh)
md5sums=('fd88dcbd681325e621f929dbf4bfb0f3'
         '69cd460b4345372103b8301b456cbd1d')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -m644 -D lib/jflex-${pkgver}.jar \
    "$pkgdir/usr/share/java/$pkgname/jflex.jar"
  install -m644 -D doc/manual.pdf \
    "$pkgdir/usr/share/doc/$pkgname/manual.pdf"
  install -m644 -D lib/jflex.vim \
    "$pkgdir/usr/share/vim/syntax/jflex.vim"
  install -m755 -D "$srcdir/jflex.sh" "$pkgdir/usr/bin/jflex"
}

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