1 # Contributor: Christoffer Hirth [toffyrn(at)toffyrn(dot)net]
6 pkgdesc="A Java library for handling console input. Similar to GNU Readline."
8 url="http://jline.sourceforge.net"
10 depends=('java-environment')
11 source=(http://downloads.sourceforge.net/jline/jline-0.9.94.zip)
12 md5sums=('cd4aad9fb454e8acf7af476dae8abb72')
16 install -d -m755 $pkgdir/usr/lib/$pkgname
17 install -d -m755 $pkgdir/usr/share/licenses/$pkgname/
18 install -d -m755 $pkgdir/usr/share/doc/$pkgname/
20 #Installing the jar file.
21 cp $srcdir/$pkgname-$pkgver/$pkgname-$pkgver.jar $pkgdir/usr/lib/$pkgname/$pkgname.jar
23 #Installing the javadoc. (And examples)
24 cp -R $srcdir/$pkgname-$pkgver/apidocs/ $pkgdir/usr/share/doc/$pkgname/
25 cp -R $srcdir/$pkgname-$pkgver/examples/$pkgname/example/ $pkgdir/usr/share/doc/$pkgname/
28 cp $srcdir/$pkgname-$pkgver/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/