[arch-commits] Commit in maeparser/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Jun 13 10:09:36 UTC 2022
Date: Monday, June 13, 2022 @ 10:09:35
Author: felixonmars
Revision: 448367
archrelease: copy trunk to staging-x86_64
Added:
maeparser/repos/staging-x86_64/
maeparser/repos/staging-x86_64/PKGBUILD
(from rev 448366, maeparser/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: maeparser/repos/staging-x86_64/PKGBUILD (from rev 448366, maeparser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-06-13 10:09:35 UTC (rev 448367)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=maeparser
+pkgver=1.2.4
+pkgrel=6
+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