blob: 6a033cd7513a7a5a06f988ef464677117a914592 (
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
32
33
|
# Maintainer: Eric Berquist <eric DOT berquist AT gmail DOT com>
_pkgname=psi3
pkgname=${_pkgname}-bin
pkgver=3.4.0.6
_pkgver=3.4.0-6+b3
pkgrel=3
pkgdesc="An open-source program for computing molecular properties using high-accuracy, ab initio, quantum mechanical models. (Debian binary build)"
arch=("x86_64")
url="https://sourceforge.net/projects/psicode/"
license=("GPL2")
depends=("gcc-libs" "lapack")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
options=("!strip" "libtool" "staticlibs")
source=("http://ftp.us.debian.org/debian/pool/main/p/psicode/${_pkgname}_${_pkgver}_amd64.deb")
sha256sums=('5e519e7e715817f6666250c1b24365a7441d9b43041a566f8b4ef1a942a5b92a')
package() {
msg2 "Extracting the data.tar.xz..."
bsdtar -xf data.tar.xz -C "${pkgdir}/"
msg2 "Extracting documentation..."
gunzip "${pkgdir}"/usr/share/doc/"${_pkgname}"/userman.ps.gz
msg2 "Adding license..."
install -Dm644 "${pkgdir}"/usr/share/doc/"${_pkgname}"/copyright "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
msg2 "Removing Debian extras..."
rm -r "${pkgdir}"/usr/share/doc-base
rm "${pkgdir}"/usr/share/doc/"${_pkgname}"/copyright
rm "${pkgdir}"/usr/share/doc/"${_pkgname}"/changelog.Debian.gz
}
|