[arch-commits] Commit in coordgen/repos/extra-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Wed May 6 07:50:20 UTC 2020


    Date: Wednesday, May 6, 2020 @ 07:50:19
  Author: arojas
Revision: 382370

archrelease: copy trunk to extra-x86_64

Added:
  coordgen/repos/extra-x86_64/PKGBUILD
    (from rev 382369, coordgen/trunk/PKGBUILD)
  coordgen/repos/extra-x86_64/coordgen-fix-build.patch
    (from rev 382369, coordgen/trunk/coordgen-fix-build.patch)
Deleted:
  coordgen/repos/extra-x86_64/PKGBUILD
  coordgen/repos/extra-x86_64/coordgen-fix-build.patch

--------------------------+
 PKGBUILD                 |   75 ++++++++++++++++++++++-----------------------
 coordgen-fix-build.patch |   26 +++++++--------
 2 files changed, 51 insertions(+), 50 deletions(-)

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

Copied: coordgen/repos/extra-x86_64/PKGBUILD (from rev 382369, coordgen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-06 07:50:19 UTC (rev 382370)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=coordgen
+pkgver=1.4.0
+pkgrel=2
+pkgdesc="Schrodinger-developed 2D Coordinate Generation"
+arch=(x86_64)
+url="https://github.com/schrodinger/coordgenlibs"
+license=(BSD)
+depends=(maeparser)
+makedepends=(cmake boost)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/schrodinger/coordgenlibs/archive/v$pkgver.tar.gz"
+        coordgen-fix-build.patch)
+sha256sums=('2c739be72d04958c158e16c8402ad0dd2171859da6486096ba1b691c18d286e7'
+            'b7d23ba17d4dbe6ebd1ac3f6c113d9a7519492cde0ab7534e477ac3fbc54860b')
+
+prepare() {
+  mkdir -p build
+
+  cd coordgenlibs-$pkgver
+  patch -p1 -i ../coordgen-fix-build.patch
+}
+
+build() {
+  cd build
+  cmake ../coordgenlibs-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCOORDGEN_USE_MAEPARSER=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/coordgenlibs-$pkgver/templates.mae -t "$pkgdir"/usr/share/coordgen
+  install -Dm644 "$srcdir"/coordgenlibs-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Deleted: coordgen-fix-build.patch
===================================================================
--- coordgen-fix-build.patch	2020-05-06 07:44:02 UTC (rev 382369)
+++ coordgen-fix-build.patch	2020-05-06 07:50:19 UTC (rev 382370)
@@ -1,13 +0,0 @@
-diff --git a/sketcherMinimizer.cpp b/sketcherMinimizer.cpp
-index b284374..0f2f599 100644
---- a/sketcherMinimizer.cpp
-+++ b/sketcherMinimizer.cpp
-@@ -3551,7 +3551,7 @@ void sketcherMinimizer::loadTemplates()
-     }
- #ifdef USE_MAEPARSER
- 
--    filename = getUserTemplateFileName();
-+    string filename = getUserTemplateFileName();
-     loadTemplate(filename, m_templates.getTemplates());
- 
- #endif

Copied: coordgen/repos/extra-x86_64/coordgen-fix-build.patch (from rev 382369, coordgen/trunk/coordgen-fix-build.patch)
===================================================================
--- coordgen-fix-build.patch	                        (rev 0)
+++ coordgen-fix-build.patch	2020-05-06 07:50:19 UTC (rev 382370)
@@ -0,0 +1,13 @@
+diff --git a/sketcherMinimizer.cpp b/sketcherMinimizer.cpp
+index b284374..0f2f599 100644
+--- a/sketcherMinimizer.cpp
++++ b/sketcherMinimizer.cpp
+@@ -3551,7 +3551,7 @@ void sketcherMinimizer::loadTemplates()
+     }
+ #ifdef USE_MAEPARSER
+ 
+-    filename = getUserTemplateFileName();
++    string filename = getUserTemplateFileName();
+     loadTemplate(filename, m_templates.getTemplates());
+ 
+ #endif


More information about the arch-commits mailing list