diff options
author | Tomasz Żok | 2018-11-02 12:05:05 +0100 |
---|---|---|
committer | Tomasz Żok | 2018-11-02 12:05:05 +0100 |
commit | 6b7f8dc29d550f28bf0d52fc54a1079f69b6ecf5 (patch) | |
tree | 7888426fef2796c53c1f0ef89eeeabc541c2e6da | |
parent | 654bb0525663fe378e61a788ceeff2a0ad29df3a (diff) | |
download | aur-6b7f8dc29d550f28bf0d52fc54a1079f69b6ecf5.tar.gz |
XPLOR-NIH 2.49
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | xplor-nih.md5 | 4 |
3 files changed, 15 insertions, 10 deletions
@@ -1,11 +1,12 @@ 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.48 + pkgver = 2.49 pkgrel = 1 url = https://nmr.cit.nih.gov/xplor-nih/ arch = x86_64 license = custom depends = ncurses5-compat-libs + depends = libselinux options = !strip source = LICENSE source = xplor-nih.md5 @@ -1,12 +1,12 @@ # Maintainer: Tomasz Zok <tomasz.zok [at] gmail.com> pkgname=xplor-nih -pkgver=2.48 +pkgver=2.49 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') -depends=('ncurses5-compat-libs') +depends=('ncurses5-compat-libs' 'libselinux') source=('LICENSE' "${pkgname}.md5") md5sums=('SKIP' @@ -32,18 +32,22 @@ prepare() { build() { cd "${pkgname}-${pkgver}" - ./configure -symlinks symlinks/ + ./configure # revert change from prepare() sed -i "s|^XPLOR_DIR=.*$|XPLOR_DIR=/opt/${pkgname}-${pkgver}|" "bin/xplor" } package() { - install -D -t "${pkgdir}/usr/bin/" ${pkgname}-${pkgver}/symlinks/* - find ${pkgname}-${pkgver}/symlinks/ -delete + install -d "${pkgdir}/usr/bin" + eval $(cat "${pkgname}-${pkgver}/configure" | awk '/scriptFiles=/,/"$/ { gsub(/\\/, ""); print }') + for script in getBest findXcookie $scriptFiles; do + ln -s "/opt/${pkgname}-${pkgver}/bin/$script" "${pkgdir}/usr/bin/" + done install -d "${pkgdir}/opt/" - cp -R "${pkgname}-${pkgver}" "${pkgdir}/opt/" + cp --recursive "${pkgname}-${pkgver}" "${pkgdir}/opt/" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -d "${pkgdir}/usr/share/licenses/${pkgname}" + cp LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" } diff --git a/xplor-nih.md5 b/xplor-nih.md5 index 17db74e935be..45d125ca7c1a 100644 --- a/xplor-nih.md5 +++ b/xplor-nih.md5 @@ -1,2 +1,2 @@ -af65196a20c1d518c010b63878d09584 ../xplor-nih-2.48-Linux_x86_64.tar.gz -4cf7ccd2d68f3d12a05052d3cc41b7c9 ../xplor-nih-2.48-db.tar.gz +c15288b2680b10e1d4feab32cf77824e ../xplor-nih-2.49-Linux_x86_64.tar.gz +0affbdb529f646764c30f1dde322be01 ../xplor-nih-2.49-db.tar.gz |