diff options
author | Jia Li | 2019-08-02 01:44:12 -0400 |
---|---|---|
committer | Jia Li | 2019-08-02 01:44:12 -0400 |
commit | ae9a58be223b0f32d3781aad6ae5bce81434bfd8 (patch) | |
tree | e8cc80e48e4156461b820ad8c03e5c96e31c51e8 | |
parent | 481686bf7ec0d41288384b435f6fbb7b336a0360 (diff) | |
download | aur-xcfun-pyscf.tar.gz |
Update patch
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = xcfun-pyscf pkgdesc = Exchange-Correlation functionals with arbitrary order derivatives (compatible to PySCF) pkgver = 1.x - pkgrel = 1 + pkgrel = 2 url = http://dftlibs.org/xcfun/ arch = i686 arch = x86_64 @@ -11,7 +11,9 @@ pkgbase = xcfun-pyscf provides = xcfun=1.x conflicts = xcfun source = xcfun-pyscf::git+https://github.com/dftlibs/xcfun.git#commit=355f42497a9cd17d16ae91da1f1aaaf93756ae8b - md5sums = SKIP + source = https://github.com/pyscf/pyscf/raw/master/pyscf/lib/libxcfun.patch + sha256sums = SKIP + sha256sums = 3ce121a0a90146daf3d5e5c3ee457fb004113eeb764489027e085a6b1cf98b06 pkgname = xcfun-pyscf @@ -2,7 +2,7 @@ pkgname=xcfun-pyscf _name=xcfun pkgver=1.x -pkgrel=1 +pkgrel=2 pkgdesc="Exchange-Correlation functionals with arbitrary order derivatives (compatible to PySCF)" arch=(i686 x86_64) url="http://dftlibs.org/xcfun/" @@ -10,11 +10,15 @@ license=('GPL3') makedepends=(git cmake) provides=(${_name}=$pkgver) conflicts=(xcfun) -source=($pkgname::git+https://github.com/dftlibs/xcfun.git#commit=355f42497a9cd17d16ae91da1f1aaaf93756ae8b) -md5sums=('SKIP') +source=( + "$pkgname::git+https://github.com/dftlibs/xcfun.git#commit=355f42497a9cd17d16ae91da1f1aaaf93756ae8b" + 'https://github.com/pyscf/pyscf/raw/master/pyscf/lib/libxcfun.patch' +) +sha256sums=('SKIP' '3ce121a0a90146daf3d5e5c3ee457fb004113eeb764489027e085a6b1cf98b06') build() { cd "$pkgname" + patch -p1 < ../libxcfun.patch mkdir -p build cd build cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_SHARED_LIBS=1 \ |