diff options
author | Tomasz Żok | 2016-04-15 14:35:38 +0200 |
---|---|---|
committer | Tomasz Żok | 2016-04-15 14:35:38 +0200 |
commit | abb32ddd5758dcb3a24fa2cf0aa8ff1a481f6c93 (patch) | |
tree | 1b4c0bb4247185df2aec1623e6c53ecbd4fe8d6d | |
download | aur-abb32ddd5758dcb3a24fa2cf0aa8ff1a481f6c93.tar.gz |
Initial version of X3DNA package
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a2d49bee4637 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = x3dna + pkgdesc = 3DNA is a versatile, integrated software system for the analysis, rebuilding and visualization of three-dimensional nucleic-acid-containing structures. Please see: http://forum.x3dna.org/site-announcements/download-instructions/ + pkgver = 2.3_2016apr02 + pkgrel = 1 + url = http://x3dna.org/ + arch = i686 + arch = x86_64 + license = custom + depends = ruby + source_i686 = http://x3dna.bio.columbia.edu/downloads/v2.3/x3dna-v2.3-linux-32bit.tar.gz + md5sums_i686 = 71874b399db7a24f5025b654493d77e2 + source_x86_64 = http://x3dna.bio.columbia.edu/downloads/v2.3/x3dna-v2.3-linux-64bit.tar.gz + md5sums_x86_64 = cc65b97a27d38d7a97cb86aaa6e6d152 + +pkgname = x3dna + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d490149752ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Tomasz Zok <tomasz.zok [at] gmail.com> +pkgname=x3dna +_pkgver=2.3 +pkgver=${_pkgver}_2016apr02 +pkgrel=1 +pkgdesc="3DNA is a versatile, integrated software system for the analysis, rebuilding and visualization of three-dimensional nucleic-acid-containing structures. Please see: http://forum.x3dna.org/site-announcements/download-instructions/" +arch=('i686' 'x86_64') +url="http://x3dna.org/" +license=('custom') +depends=('ruby') +source_i686=("http://x3dna.bio.columbia.edu/downloads/v${_pkgver}/${pkgname}-v${_pkgver}-linux-32bit.tar.gz") +md5sums_i686=('71874b399db7a24f5025b654493d77e2') +source_x86_64=("http://x3dna.bio.columbia.edu/downloads/v${_pkgver}/${pkgname}-v${_pkgver}-linux-64bit.tar.gz") +md5sums_x86_64=('cc65b97a27d38d7a97cb86aaa6e6d152') + +package() { + cd ${pkgname}-v${_pkgver}/ + install -d ${pkgdir}/etc/profile.d/ + install -d ${pkgdir}/opt/${pkgname}-v${_pkgver}/ + install -d ${pkgdir}/usr/bin/ + + # fix conflict with hunspell package + mv bin/analyze bin/analyze-x3dna + + install bin/* ${pkgdir}/usr/bin/ + cp -R config doc examples fiber lib np_recipes perl_scripts ${pkgdir}/opt/${pkgname}-v${_pkgver}/ + echo "export X3DNA=/opt/${pkgname}-v${_pkgver}" > "$pkgdir/etc/profile.d/x3dna.sh" +} |