[arch-commits] Commit in maeparser/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 12 15:30:27 UTC 2020
Date: Saturday, December 12, 2020 @ 15:30:26
Author: felixonmars
Revision: 404112
archrelease: copy trunk to staging-x86_64
Added:
maeparser/repos/staging-x86_64/
maeparser/repos/staging-x86_64/PKGBUILD
(from rev 404111, maeparser/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: maeparser/repos/staging-x86_64/PKGBUILD (from rev 404111, maeparser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-12-12 15:30:26 UTC (rev 404112)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=maeparser
+pkgver=1.2.4
+pkgrel=3
+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=('c62d5846c85a2982cfa8895ffbed8a6ce57678d936ddfebf429546fab4b0a36d')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ install -Dm644 $pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list