summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron DeVore2015-07-08 11:12:33 -0700
committerAaron DeVore2015-07-08 11:12:33 -0700
commit2c98e05220f420278ff9fea899aef79368971a89 (patch)
tree26220936c9400a7e0cc2431f7a2cc058c090e1f4
downloadaur-2c98e05220f420278ff9fea899aef79368971a89.tar.gz
Initial import
-rw-r--r--.AURINFO16
-rw-r--r--.SRCINFO16
-rw-r--r--Changelog5
-rw-r--r--PKGBUILD29
-rwxr-xr-xjflex.sh3
5 files changed, 69 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..114bb1f5b49
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,16 @@
+pkgbase = jflex
+ pkgdesc = A lexer generator written in Java
+ pkgver = 1.6.0
+ pkgrel = 1
+ url = http://www.jflex.de/
+ changelog = Changelog
+ arch = any
+ license = GPL
+ depends = java-environment
+ source = http://jflex.de/jflex-1.6.0.tar.gz
+ source = jflex.sh
+ md5sums = df8cc9ca50b549bf705bd23479c100dc
+ md5sums = 69cd460b4345372103b8301b456cbd1d
+
+pkgname = jflex
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..114bb1f5b49
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = jflex
+ pkgdesc = A lexer generator written in Java
+ pkgver = 1.6.0
+ pkgrel = 1
+ url = http://www.jflex.de/
+ changelog = Changelog
+ arch = any
+ license = GPL
+ depends = java-environment
+ source = http://jflex.de/jflex-1.6.0.tar.gz
+ source = jflex.sh
+ md5sums = df8cc9ca50b549bf705bd23479c100dc
+ md5sums = 69cd460b4345372103b8301b456cbd1d
+
+pkgname = jflex
+
diff --git a/Changelog b/Changelog
new file mode 100644
index 00000000000..9e4776d167d
--- /dev/null
+++ b/Changelog
@@ -0,0 +1,5 @@
+2013-11-6 Aaron DeVore <aaron.devore@gmail.com> (1.4.3-3)
+- Switch build() to package()
+2012-1-31 Aaron DeVore <aaron.devore@gmail.com> (1.4.3-2)
+- Correct md5sum
+- Change architecture to 'any'
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa8f5798037
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Aaron DeVore <aaron.devore@gmail.com>
+# Contributor: Henning Garus <henning.garus@gmail.com>
+
+pkgname=jflex
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="A lexer generator written in Java"
+arch=('any')
+url="http://www.jflex.de/"
+license=('GPL')
+depends=('java-environment')
+changelog='Changelog'
+source=(http://jflex.de/$pkgname-$pkgver.tar.gz
+ jflex.sh)
+md5sums=('df8cc9ca50b549bf705bd23479c100dc'
+ '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:
diff --git a/jflex.sh b/jflex.sh
new file mode 100755
index 00000000000..d46ff823c1e
--- /dev/null
+++ b/jflex.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/sh
+
+java -jar /usr/share/java/jflex/jflex.jar "$@"