[arch-commits] Commit in maeparser/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Dec 17 06:24:40 UTC 2021
Date: Friday, December 17, 2021 @ 06:24:40
Author: felixonmars
Revision: 432652
archrelease: copy trunk to staging-x86_64
Added:
maeparser/repos/staging-x86_64/
maeparser/repos/staging-x86_64/PKGBUILD
(from rev 432651, maeparser/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: maeparser/repos/staging-x86_64/PKGBUILD (from rev 432651, maeparser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-12-17 06:24:40 UTC (rev 432652)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=maeparser
+pkgver=1.2.4
+pkgrel=5
+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