[arch-commits] Commit in maeparser (3 files)

Antonio Rojas arojas at archlinux.org
Fri Nov 29 12:59:39 UTC 2019


    Date: Friday, November 29, 2019 @ 12:59:38
  Author: arojas
Revision: 369906

archrelease: copy trunk to extra-x86_64

Added:
  maeparser/repos/
  maeparser/repos/extra-x86_64/
  maeparser/repos/extra-x86_64/PKGBUILD
    (from rev 369905, maeparser/trunk/PKGBUILD)

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

Copied: maeparser/repos/extra-x86_64/PKGBUILD (from rev 369905, maeparser/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD	                        (rev 0)
+++ repos/extra-x86_64/PKGBUILD	2019-11-29 12:59:38 UTC (rev 369906)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=maeparser
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="Maestro file parser"
+arch=(x86_64)
+url="https://github.com/schrodinger/maeparser"
+license=(MIT)
+depends=(boost-libs)
+makedepends=(cmake boost)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/schrodinger/maeparser/archive/v$pkgver.tar.gz")
+sha256sums=('e65dec4dd8b2c633d9c43711eccd6dfa3c4df6383ec32aeffd21a96d465f5fe7')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list