diff options
author | Nikos Fytilis | 2017-04-04 10:42:24 +0300 |
---|---|---|
committer | Nikos Fytilis | 2017-04-04 10:42:24 +0300 |
commit | f9b14d684f3c002da4a6d9f815167266e8f83dee (patch) | |
tree | 6d29b4280c6ef496124c7d40ae8a1925c8c5346e | |
parent | a4a4e7224ccb822562f0a61650a7f7fdcebbc3e2 (diff) | |
download | aur-f9b14d684f3c002da4a6d9f815167266e8f83dee.tar.gz |
meh autodock was already in the tar
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 5 deletions
@@ -1,10 +1,11 @@ pkgbase = mgltools-bin - pkgdesc = Visualization and analysis of molecular structures; includes AutoDockTools, Vision and PythonMoleculeViewer (includes Python 2.5) + pkgdesc = Visualization and analysis of molecular structures; includes AutoDockTools, Vision, AutoDock 4.2.6 and PythonMoleculeViewer (includes Python 2.7) pkgver = 2015.01.22 pkgrel = 1 url = http://mgltools.scripps.edu/ arch = x86_64 license = custom + options = !emptydirs source = http://mgltools.scripps.edu/downloads/tars/releases/nightly/latest/REL/mgltools_x86_64Linux2_latest.tar.gz source = remove_licence_popup.patch md5sums = SKIP @@ -4,8 +4,8 @@ _pkgname=mgltools pkgname=mgltools-bin pkgver=2015.01.22 pkgrel=1 -pkgdesc="Visualization and analysis of molecular structures; includes AutoDockTools, Vision and\ - PythonMoleculeViewer (includes Python 2.5)" +pkgdesc="Visualization and analysis of molecular structures; includes AutoDockTools, Vision, AutoDock 4.2.6 and\ + PythonMoleculeViewer (includes Python 2.7)" arch=('x86_64') url="http://mgltools.scripps.edu/" license=('custom') @@ -13,8 +13,9 @@ source=(http://mgltools.scripps.edu/downloads/tars/releases/nightly/latest/REL/m 'remove_licence_popup.patch') md5sums=('SKIP' '7f2e0c303999deffe2879e466ae28be7') +options=('!emptydirs') + #"http://mgltools.scripps.edu/downloads/tars/releases/nightly/${pkgver}/REL\${_pkgname}_x86_64Linux2_${pkgver}.tar.gz") -#options=('!emptydirs') #depends=('swig' 'tk' 'python2-numpy' 'python2-imaging' 'python2-pmw' 'glut' 'python2-zsi' # 'python2-simpy' 'libxmu' 'python2-backports.ssl' 'python2-colorama' 'python2-dateutil' # 'ipython2' 'python2-apache-libcloud' 'python2-matplotlib' 'python2-pygments' @@ -34,7 +35,7 @@ prepare() { package() { cd "$srcdir/${_pkgname}_x86_64Linux2_latest" mkdir -p $pkgdir/usr/bin/ $pkgdir/opt/$_pkgname - yes y| ./install.sh -d "$pkgdir/opt/$_pkgname" + ./install.sh -d "$pkgdir/opt/$_pkgname" &> /dev/null cd "$pkgdir/" # asd=( `find "./opt/$_pkgname/bin/" -type f`) asd=( ./opt/$_pkgname/bin/pythonsh ) @@ -49,4 +50,6 @@ package() { do sed -e 's/\/usr\/bin\/env python/\/usr\/bin\/env pythonsh-mg/g' -i $i done chmod +x ./usr/bin/* + install -Dm 755 ./opt/mgltools/MGLToolsPckgs/binaries/autodock4 ./usr/bin/ + install -Dm 755 ./opt/mgltools/MGLToolsPckgs/binaries/autogrid4 ./usr/bin/ } |