updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / radware / PKGBUILD
blob0aca733c976c80c0ce0148ab40363134192216b8
1 pkgname=radware
2 pkgver=1.1
3 pkgrel=3
4 pkgdesc="Software for analysing collision data"
5 url="http://radware.phy.ornl.gov/"
6 license=""
7 depends=(lesstif)
8 arch=('i686' 'x86_64')
9 makedepends=(gcc)
10 source=("ftp://radware.phy.ornl.gov/pub/radware/unix/rw0${pkgver}.${pkgrel}.tgz")
11 build() {
12   cd $startdir/src/rw01/src
13   #Change settings in makefile appropriately
14   sed -e "s|\(    INSTALL_DIR = \).*|\1${pkgdir}|"\
15       -e "s/\/usr\/bin\/install/\/bin\/install/"\
16       -e "s/\(-m [0-9]\{4\}\).*/\1/"\
17       Makefile.linux > Makefile
18   make || return 1
19   make install
21 md5sums=('56ea86c8e4b3454cc10f66a4b221663a')