updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / java-comm / PKGBUILD
blobe162c1a2579cbbdb45d723cb4df6664f827d3aa3
1 #Contributor: astaroth <astaroth_@web.de>
2 pkgname=java-comm
3 pkgver=3.0
4 pkgrel=2
5 pkgdesc="Java Communications API for accessing serial and parallel ports"
6 url="http://java.sun.com/products/javacomm/"
7 license="Custom"
8 source=(comm3.0_u1_linux.zip)
9 arch=('i686')
10 depends=(jre)
11 md5sums=('66f961de4a433eb4283751b98496b1a1')
13 build() {
14     cd $startdir/commapi
15     mkdir -p $startdir/pkg/$J2REDIR/lib/ext/
16     mkdir -p $startdir/pkg/usr/share/licenses/$pkgname/
17     install -m744 docs/license.txt \
18         $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
19     install -m755 jar/comm.jar $startdir/pkg/$J2REDIR/lib/ext/
20     install -m744 docs/javax.comm.properties $startdir/pkg/$J2REDIR/lib/
21     mkdir -p $startdir/pkg/usr/lib
22     install -m755 lib/*.so $startdir/pkg/usr/lib/