1 # Maintainer: Michael Schubert <mschu.dev at gmail>
9 pkgdesc="A tool for drug discovery, molecular docking and virtual screening"
10 url="http://vina.scripps.edu/"
12 source=("http://vina.scripps.edu/download/autodock_vina_$_pkgver.tgz")
13 md5sums=('b467b71ee77dd155b65b1c5364e4220f')
16 # adapt code to new boost version
17 cd "$srcdir/autodock_vina_$_pkgver"
18 find src -name "*.cpp" | xargs sed -i \
19 "s/.native_file_string()/.string()/g;s/, boost::filesystem::native//"
21 # edit makefile and build
22 cd "build/linux/release"
23 sed -i "s:/local::g" Makefile
27 install -Dm755 vina "$pkgdir/usr/bin/vina"
28 install -Dm755 vina_split "$pkgdir/usr/bin/vina_split"