diff options
author | Tomasz Żok | 2017-03-06 20:52:52 +0100 |
---|---|---|
committer | Tomasz Żok | 2017-03-06 20:52:52 +0100 |
commit | ab1d48103232e5ff7f166eabf53649594ce6b390 (patch) | |
tree | 876e1c058e920cf45733437566c3877cc3025764 | |
parent | 3016eb0f4637563617a305786c376dc1f0cc619a (diff) | |
download | aur-ab1d48103232e5ff7f166eabf53649594ce6b390.tar.gz |
Update to v2.3-2017feb08
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | x3dna.md5 | 1 |
3 files changed, 20 insertions, 6 deletions
@@ -1,13 +1,13 @@ 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_20161214 + pkgver = 2.3_20170208 pkgrel = 1 url = http://x3dna.org/ arch = x86_64 license = custom depends = ruby - source = http://x3dna.bio.columbia.edu/downloads/v2.3/x3dna-v2.3-linux-64bit.tar.gz - md5sums = 184fd7da4338cfc41e0feb055563cf64 + source = x3dna.md5 + md5sums = 38c78f0d94749ffaa1b55a0bee6a90b8 pkgname = x3dna @@ -1,18 +1,31 @@ # Maintainer: Tomasz Zok <tomasz.zok [at] gmail.com> pkgname=x3dna _pkgver=2.3 -pkgver=${_pkgver}_20161214 +pkgver=${_pkgver}_20170208 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=('x86_64') url="http://x3dna.org/" license=('custom') depends=('ruby') -source=("http://x3dna.bio.columbia.edu/downloads/v${_pkgver}/${pkgname}-v${_pkgver}-linux-64bit.tar.gz") -md5sums=('184fd7da4338cfc41e0feb055563cf64') +source=("${pkgname}.md5") +md5sums=('38c78f0d94749ffaa1b55a0bee6a90b8') package() { + archive=${pkgname}-v${_pkgver}-linux-64bit.tar.gz + if [[ ! -r "../${archive}" ]]; then + echo "You must download ${archive} on your own from the project webpage" + echo 'See: http://forum.x3dna.org/site-announcements/download-instructions/' + return 1 + fi + if ! md5sum --quiet --check "${pkgname}.md5"; then + echo 'Invalid checksum!' + return 1 + fi + + bsdtar xfz ../${archive} cd ${pkgname}-v${_pkgver}/ + install -d ${pkgdir}/etc/profile.d/ install -d ${pkgdir}/opt/${pkgname}-v${_pkgver}/ install -d ${pkgdir}/usr/bin/ diff --git a/x3dna.md5 b/x3dna.md5 new file mode 100644 index 000000000000..64e1777c69bb --- /dev/null +++ b/x3dna.md5 @@ -0,0 +1 @@ +99e3fabf2f65c5bced72d86362f48b50 ../x3dna-v2.3-linux-64bit.tar.gz |