[arch-commits] Commit in avogadrolibs/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Dec 1 12:27:18 UTC 2017
Date: Friday, December 1, 2017 @ 12:27:16
Author: arojas
Revision: 311255
Restore libjsoncpp.a static lib now that jsoncpp doesn't provide it anymore
Modified:
avogadrolibs/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-01 12:12:54 UTC (rev 311254)
+++ PKGBUILD 2017-12-01 12:27:16 UTC (rev 311255)
@@ -2,7 +2,7 @@
pkgname=avogadrolibs
pkgver=1.90.0
-pkgrel=5
+pkgrel=6
pkgdesc="Libraries that provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas"
arch=(x86_64)
url="http://www.openchemistry.org/"
@@ -10,15 +10,16 @@
depends=(molequeue glew spglib)
makedepends=(cmake eigen python2 boost)
source=($pkgname-$pkgver.tar.gz::"https://github.com/OpenChemistry/avogadrolibs/archive/$pkgver.tar.gz")
-md5sums=('f2b7014f48da5b2a72d49c01dafaf225')
+sha256sums=('a562acae129901cb2c9878f5ca4cc8874a8a04260b93a700489dc85dc862c9b7')
prepare() {
mkdir -p build
+ cd $pkgname-$pkgver
# Find spglib
- sed -e 's|NAMES spglib|NAMES spglib symspg|' -i $pkgname-$pkgver/cmake/FindSpglib.cmake
+ sed -e 's|NAMES spglib|NAMES spglib symspg|' -i cmake/FindSpglib.cmake
# Fix build with GCC>=7
- sed -e 's|3456|3456789|' -i $pkgname-$pkgver/cmake/GenerateExportHeader.cmake
+ sed -e 's|3456|3456789|' -i cmake/GenerateExportHeader.cmake
}
build() {
@@ -33,7 +34,4 @@
cd build
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-# Remove useless static lib
- rm "$pkgdir"/usr/lib/libjsoncpp.a
}
More information about the arch-commits
mailing list