1 # Contributor: Jan Kašpar <jan.kaspar at gmail dot com>
5 pkgdesc="Client for CERN Advanced STORage manager."
7 url="http://castor.web.cern.ch/castor/"
8 license=('EU DataGrid software license')
10 makedepends=('make' 'imake' 'python2')
13 "http://castorold.web.cern.ch/castorold/DIST/CERN/savannah/CASTOR.pkg/$pkgver-*/$pkgver-$pkgrel/castor-$pkgver-$pkgrel.tar.gz"
18 md5sums=('7ee5e5b41d526a38bf276dff43897af2'
19 '8c838ccab6ed5267f280e68650ef4fea'
20 '417cc791dcd0d1964a8900ef9c475c6a')
24 cd "$srcdir/castor-$pkgver"
26 export MAJOR_CASTOR_VERSION=2.1
27 export MINOR_CASTOR_VERSION=11.7
29 patch -p0 < "../python2_patch"
33 ./configure || return 1
34 make client || return 2
39 cd "$srcdir/castor-$pkgver"
40 #export DESTDIR="$startdir/pkg"
41 make DESTDIR="$pkgdir/" LIBDIR="/usr/lib" installclient
43 mkdir -p "$pkgdir/etc/bash_completion.d"
44 cp "../bash-completion" "$pkgdir/etc/bash_completion.d/castor"