summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorspecter1192019-03-25 16:06:44 +0800
committerspecter1192019-03-25 16:06:44 +0800
commitf346459803202b4b9c5fc08674e105a3c75939a9 (patch)
tree50c3be494f40caa42ba497a866ada6821127aaf9
parent452e267f31bc82e0e61726214f577fa8806090d6 (diff)
downloadaur-boltztrap.tar.gz
split package and split for boltztrap
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD20
2 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01ae2d432d9..493c80faaa8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = boltztrap
pkgdesc = Boltzmann Transport Properties (BoltzTraP) is a program for calculating the semi-classic transport coefficients
pkgver = 1.2.5
- pkgrel = 0
+ pkgrel = 1
url = https://www.imc.tuwien.ac.at/forschungsbereich_theoretische_chemie/forschungsgruppen/prof_dr_gkh_madsen_theoretical_materials_chemistry/boltztrap/
arch = any
license = GPL
depends = tcsh
depends = gcc-fortran
depends = lapack
- depends = blas
source = BoltzTraP.tar.bz2::https://owncloud.tuwien.ac.at/index.php/s/s2d55LYlZnioa3s/download
sha256sums = a550114eabec625cc7307e7f034e92e15e7ed9d0e1dbd92a7fd4f8f8e141d5fe
diff --git a/PKGBUILD b/PKGBUILD
index 5f271ec0a24..0585bc9189e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,22 @@
-# Contributor: Ke Liu <spcter119@gmail.com>
+# Maintainer: Ke Liu <spcter119@gmail.com>
+
pkgname=boltztrap
pkgver=1.2.5
-pkgrel=0
+pkgrel=1
pkgdesc="Boltzmann Transport Properties (BoltzTraP) is a program for calculating the semi-classic transport coefficients"
arch=('any')
url="https://www.imc.tuwien.ac.at/forschungsbereich_theoretische_chemie/forschungsgruppen/prof_dr_gkh_madsen_theoretical_materials_chemistry/boltztrap/"
license=('GPL')
-depends=('tcsh' 'gcc-fortran' 'lapack' 'blas')
+depends=('tcsh' 'gcc-fortran' 'lapack')
source=(BoltzTraP.tar.bz2::'https://owncloud.tuwien.ac.at/index.php/s/s2d55LYlZnioa3s/download')
-noextract=()
sha256sums=('a550114eabec625cc7307e7f034e92e15e7ed9d0e1dbd92a7fd4f8f8e141d5fe')
-validpgpkeys=()
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/src"
+ make
+}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/src"
- make
- install -D -m755 "${srcdir}/${pkgname}-${pkgver}/src/BoltzTraP" "$pkgdir/usr/bin/BoltzTraP"
- install -D -m755 "${srcdir}/${pkgname}-${pkgver}/src/x_trans" "$pkgdir/usr/bin/x_trans"
+ install -D -m755 "$srcdir/$pkgname-$pkgver/src/BoltzTraP" "$pkgdir/usr/bin/BoltzTraP"
+ install -D -m755 "$srcdir/$pkgname-$pkgver/src/x_trans" "$pkgdir/usr/bin/x_trans"
}