2015-08-04 20:04:32 +02:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
2016-03-25 21:43:59 +01:00
|
|
|
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
|
|
# you also find the URL of a binary repository.
|
|
|
|
|
2015-08-01 20:54:37 +02:00
|
|
|
pkgname=jflap
|
|
|
|
pkgver=7.0
|
|
|
|
pkgrel=5
|
|
|
|
pkgdesc="Software to learning the basic concepts of Formal Languages and Automata Theory"
|
|
|
|
arch=('any')
|
|
|
|
url="http://www.jflap.org/"
|
|
|
|
license=('CCPL')
|
|
|
|
conflicts=()
|
|
|
|
depends=('java-environment')
|
|
|
|
_file=${pkgname^^}.jar
|
|
|
|
source=("http://www.cs.duke.edu/csed/jflap/jflaptmp/may15-2011/withoutSource/$_file"
|
|
|
|
"$pkgname.sh")
|
2015-12-24 16:50:30 +01:00
|
|
|
md5sums=('95d5f8f9f098331f6f61c24f7931589f'
|
|
|
|
'c5e9c07d641f0a28a65e575feff9ec60')
|
2015-08-01 20:54:37 +02:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir
|
|
|
|
mkdir -p $pkgdir/usr/share/java/$pkgname/
|
|
|
|
cp $_file $pkgdir/usr/share/java/$pkgname/$pkgname.jar
|
|
|
|
mkdir -p $pkgdir/usr/bin
|
|
|
|
cp $pkgname.sh $pkgdir/usr/bin/$pkgname
|
|
|
|
chmod +x $pkgdir/usr/bin/$pkgname
|
|
|
|
}
|