diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f88c4e764a79 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Pierre Chapuis <catwell at archlinux dot us> + +pkgname=gsi-sshterm +pkgver=0.91d +pkgrel=2 +pkgdesc='Java Grid authentication program by the UK National Grid Service' +arch=('i686' 'x86_64') +url='http://wiki.ngs.ac.uk/index.php?title=GSI-SSHTerm' +license=('GPL') +depends=('java-runtime') +makedepends=('apache-ant') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('f692f19b5cd20cdef0f1245dcbd6b412') + +build() { + cd $srcdir/sshtools + sh make.sh || return 1 + install -d $pkgdir/opt/ $pkgdir/usr/bin/ + cp -r release/GSI-SSHTerm-$pkgver $pkgdir/opt/$pkgname + rm -f $pkgdir/opt/$pkgname/bin/*.bat + echo > $pkgdir/opt/$pkgname/bin/sshterm.log + chmod 0666 $pkgdir/opt/$pkgname/bin/sshterm.log + echo -e "#!/bin/sh\ncd /opt/$pkgname/bin\n./sshterm.sh" \ + > $pkgdir/usr/bin/$pkgname + chmod 0755 $pkgdir/usr/bin/$pkgname +} |