updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / jsqsh / PKGBUILD
blobefe65844c0c1577cd592d0ef95101d379a6ae556
1 # Maintainer: elimat <matthias[dot]eliasson[at]gmail[dot]com>
3 pkgname=jsqsh
4 pkgver=1.4
5 pkgrel=2
6 pkgdesc="A Java re-implementation of a tool that originally authored called sqsh"
7 makedepends=('deb2targz' 'tar')
8 arch=('x86_64' 'i686')
9 license=('GPL')
10 url="http://jsqsh.wiki.sorceforge.net"
12         if [ "${CARCH}" = "x86_64" ]; then
13         md5sums=('c55b7265ae1a6b76e829c1e4808f226e'
14                         '84a39a5f1551a70133607faf72bd119c')
15         _carch=.x86_64
16         elif [ "${CARCH}" = "i686" ]; then
17         md5sums=('9d708e4b3ca8e603daade6de98a3714d'
18                         '84a39a5f1551a70133607faf72bd119c')
19         _carch=-i386
20         fi
21 depends=('jdk' 'java-readline')
22 source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}-1${_carch}.deb"
23                 'jsqsh.jar')
25 build() {
26   pwd
27   deb2targz ${pkgname}-${pkgver}-1${_carch}.deb > /dev/null || return 1
28   tar -xzf ${pkgname}-${pkgver}-1${_carch}.tar.gz || return 1
30   mv usr/ ${pkgdir}/
31   mv jsqsh.jar ${pkgdir}/usr/share/jsqsh