blob: 01532dc7a491707c4ae7f0ac7b3f9ceb3bc7cb6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Eric Berquist <eric DOT berquist AT gmail DOT com>
_pkgname=nwchem
pkgname=${_pkgname}-bin
_pkgver=6.8+47+gitdf6c956-3+b1
_pkgver_tmp="${_pkgver//\+/\.}"
pkgver="${_pkgver_tmp//-/\.}"
pkgrel=1
pkgdesc="Open Source High-Performance Computational Chemistry (Debian binary build)"
arch=("x86_64")
url="http://www.nwchem-sw.org"
license=("custom:ECL2.0" "GPL3")
depends=("lapack" "python2" "openmpi" "nwchem-data" "libgfortran6" "scalapack")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
options=("!strip" "libtool" "staticlibs")
source=("http://ftp.us.debian.org/debian/pool/main/n/nwchem/nwchem_${_pkgver}_amd64.deb")
sha256sums=('e3cb736233d5cdae96cd926ea3ed5ef8be7cc9397183a380d6ee75a4e2887341')
package() {
msg2 "Extracting the data.tar.xz..."
bsdtar -xf data.tar.xz -C "${pkgdir}/"
msg2 "Adding license..."
install -Dm644 "${pkgdir}"/usr/share/doc/"${_pkgname}"/copyright "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
msg2 "Removing Debian extras..."
rm "${pkgdir}"/usr/share/doc/nwchem/changelog.*
rm "${pkgdir}"/usr/share/doc/nwchem/TODO.Debian
rm -r "${pkgdir}"/usr/share/lintian
}
|