[arch-commits] Commit in libmsym/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:59:30 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:59:29
  Author: foutrelis
Revision: 400023

archrelease: copy trunk to staging-x86_64

Added:
  libmsym/repos/staging-x86_64/
  libmsym/repos/staging-x86_64/PKGBUILD
    (from rev 400022, libmsym/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: libmsym/repos/staging-x86_64/PKGBUILD (from rev 400022, libmsym/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-10 04:59:29 UTC (rev 400023)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libmsym
+pkgver=0.2.3
+pkgrel=4
+pkgdesc="Molecular point group symmetry lib"
+arch=(x86_64)
+url="http://www.openchemistry.org/"
+license=(MIT)
+depends=(glibc)
+makedepends=(cmake python)
+optdepends=('python: Python bindings')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/mcodev31/libmsym/archive/v$pkgver-paper.tar.gz")
+sha256sums=('3741ebe163cf40696570d6b62e4834ca587d43dcac9de713994cc5e2960fb8fd')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver-paper \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DMSYM_BUILD_PYTHON=ON \
+    -DMSYM_PYTHON_INSTALL_OPTS=--root="$pkgdir"
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/$pkgname-$pkgver-paper/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list