[arch-commits] Commit in avogadrolibs/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Aug 22 17:36:09 UTC 2018


    Date: Wednesday, August 22, 2018 @ 17:36:09
  Author: arojas
Revision: 332820

Update to 1.91

Modified:
  avogadrolibs/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-22 17:25:15 UTC (rev 332819)
+++ PKGBUILD	2018-08-22 17:36:09 UTC (rev 332820)
@@ -1,16 +1,16 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=avogadrolibs
-pkgver=1.90.0
-pkgrel=7
+pkgver=1.91.0
+pkgrel=1
 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/"
 license=(custom)
-depends=(molequeue glew spglib)
+depends=(molequeue glew spglib libmsym libarchive)
 makedepends=(cmake eigen python2 boost)
 source=($pkgname-$pkgver.tar.gz::"https://github.com/OpenChemistry/avogadrolibs/archive/$pkgver.tar.gz")
-sha256sums=('a562acae129901cb2c9878f5ca4cc8874a8a04260b93a700489dc85dc862c9b7')
+sha256sums=('752933c26b46dfbf12f7537b1f8dd9960a4fd29f0cccbed5b868b00474bb42af')
 
 prepare() {
   mkdir -p build
@@ -17,9 +17,9 @@
 
   cd $pkgname-$pkgver
 # Find spglib
-  sed -e 's|NAMES spglib|NAMES spglib symspg|' -i 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 cmake/GenerateExportHeader.cmake
+ # sed -e 's|3456|3456789|' -i cmake/GenerateExportHeader.cmake
 }
 
 build() {
@@ -26,7 +26,8 @@
   cd build
   cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DOpenGL_GL_PREFERENCE=GLVND
   make
 }
 
@@ -33,7 +34,7 @@
 package() {
   cd build
   make DESTDIR="$pkgdir" install
-  install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 
   rm "$pkgdir"/usr/lib/libjsoncpp.a # provided by jsoncpp
 }



More information about the arch-commits mailing list