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

Antonio Rojas arojas at archlinux.org
Wed May 6 07:19:36 UTC 2020


    Date: Wednesday, May 6, 2020 @ 07:19:35
  Author: arojas
Revision: 382365

New openbabel dependency

Added:
  coordgen/
  coordgen/trunk/
  coordgen/trunk/PKGBUILD

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

Added: coordgen/trunk/PKGBUILD
===================================================================
--- coordgen/trunk/PKGBUILD	                        (rev 0)
+++ coordgen/trunk/PKGBUILD	2020-05-06 07:19:35 UTC (rev 382365)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=coordgen
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Schrodinger-developed 2D Coordinate Generation"
+arch=(x86_64)
+url="https://github.com/schrodinger/coordgenlibs"
+license=(BSD)
+depends=(gcc-libs)
+makedepends=(cmake boost maeparser)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/schrodinger/coordgenlibs/archive/v$pkgver.tar.gz")
+sha256sums=('2c739be72d04958c158e16c8402ad0dd2171859da6486096ba1b691c18d286e7')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../coordgenlibs-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/coordgenlibs-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}


More information about the arch-commits mailing list