summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Żok2016-05-31 23:18:09 +0200
committerTomasz Żok2016-05-31 23:18:09 +0200
commit26f2db8792a06866d4592bdbede4141f23f72b65 (patch)
treeb05280a149edef8e51ef2aae4310292718d4e985
parentb8ab30dcd80ff86fb44a7e9d644dcd39f0822d77 (diff)
downloadaur-26f2db8792a06866d4592bdbede4141f23f72b65.tar.gz
Bump version to 2.42
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD13
-rw-r--r--xplor-nih.md52
3 files changed, 16 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f44de8f163dd..f952f12b06eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,16 @@
pkgbase = xplor-nih
pkgdesc = XPLOR-NIH is a structure determination program which builds on the X-PLOR program, including additional tools developed at the NIH
- pkgver = 2.41.1
+ pkgver = 2.42
pkgrel = 1
url = https://nmr.cit.nih.gov/xplor-nih/
install = xplor-nih.install
arch = x86_64
license = custom
+ depends = ncurses5-compat-libs
source = LICENSE
+ source = xplor-nih.md5
md5sums = de4f34dc4d9738669b57850f7ef77a71
+ md5sums = b93dc9f834633467f8580aac4ba74b20
pkgname = xplor-nih
diff --git a/PKGBUILD b/PKGBUILD
index 795805c52a0a..2c5d0482217b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,27 @@
# Maintainer: Tomasz Zok <tomasz.zok [at] gmail.com>
pkgname=xplor-nih
-pkgver=2.41.1
+pkgver=2.42
pkgrel=1
pkgdesc="XPLOR-NIH is a structure determination program which builds on the X-PLOR program, including additional tools developed at the NIH"
arch=('x86_64')
url="https://nmr.cit.nih.gov/xplor-nih/"
license=('custom')
install=${pkgname}.install
-source=("LICENSE")
-md5sums=('de4f34dc4d9738669b57850f7ef77a71')
+depends=(ncurses5-compat-libs)
+source=('LICENSE'
+ "${pkgname}.md5")
+md5sums=('de4f34dc4d9738669b57850f7ef77a71'
+ 'b93dc9f834633467f8580aac4ba74b20')
prepare() {
if [[ ! -r "../${pkgname}-${pkgver}-db.tar.gz" || ! -r "../${pkgname}-${pkgver}-Linux_x86_64.tar.gz" ]]; then
echo "You must download XPLOR-NIH on your own from the project webpage: ${pkgname}-${pkgver}-db.tar.gz and ${pkgname}-${pkgver}-Linux_x86_64.tar.gz"
return 1
fi
+ if ! md5sum --quiet --check ${pkgname}.md5; then
+ echo "Invalid checksum!"
+ return 1
+ fi
bsdtar xfz ../${pkgname}-${pkgver}-db.tar.gz
bsdtar xfz ../${pkgname}-${pkgver}-Linux_x86_64.tar.gz
diff --git a/xplor-nih.md5 b/xplor-nih.md5
new file mode 100644
index 000000000000..b0fc3fb9f937
--- /dev/null
+++ b/xplor-nih.md5
@@ -0,0 +1,2 @@
+ddac83e4d3eaca3a9a2a456a4c1621d6 ../xplor-nih-2.42-db.tar.gz
+269f654954c437b5f7a3c6f8b887c36d ../xplor-nih-2.42-Linux_x86_64.tar.gz