[arch-commits] Commit in avogadrolibs/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Dec 1 12:27:59 UTC 2017


    Date: Friday, December 1, 2017 @ 12:27:58
  Author: arojas
Revision: 311256

archrelease: copy trunk to extra-x86_64

Added:
  avogadrolibs/repos/extra-x86_64/PKGBUILD
    (from rev 311255, avogadrolibs/trunk/PKGBUILD)
Deleted:
  avogadrolibs/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 37 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-01 12:27:16 UTC (rev 311255)
+++ PKGBUILD	2017-12-01 12:27:58 UTC (rev 311256)
@@ -1,39 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=avogadrolibs
-pkgver=1.90.0
-pkgrel=5
-pkgdesc="Libraries that provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas"
-arch=(i686 x86_64)
-url="http://www.openchemistry.org/"
-license=(custom)
-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')
-
-prepare() {
-  mkdir -p build
-
-# Find spglib
-  sed -e 's|NAMES spglib|NAMES spglib symspg|' -i $pkgname-$pkgver/cmake/FindSpglib.cmake
-# Fix build with GCC>=7
-  sed -e 's|3456|3456789|' -i $pkgname-$pkgver/cmake/GenerateExportHeader.cmake
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
-}
-
-package() {
-  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
-}

Copied: avogadrolibs/repos/extra-x86_64/PKGBUILD (from rev 311255, avogadrolibs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-01 12:27:58 UTC (rev 311256)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=avogadrolibs
+pkgver=1.90.0
+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/"
+license=(custom)
+depends=(molequeue glew spglib)
+makedepends=(cmake eigen python2 boost)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/OpenChemistry/avogadrolibs/archive/$pkgver.tar.gz")
+sha256sums=('a562acae129901cb2c9878f5ca4cc8874a8a04260b93a700489dc85dc862c9b7')
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+# Find spglib
+  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
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list