* update maeparser to 1.3.1-3

This commit is contained in:
Alexander Baldeck 2024-08-18 10:00:28 +02:00
parent 96fef618f4
commit 48dd799c1e
3 changed files with 33 additions and 8 deletions

17
maeparser/.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = maeparser
pkgdesc = Maestro file parser
pkgver = 1.3.1
pkgrel = 3
url = https://github.com/schrodinger/maeparser
arch = x86_64
license = MIT
makedepends = boost
makedepends = cmake
makedepends = git
depends = boost-libs
depends = gcc-libs
depends = glibc
source = git+https://github.com/schrodinger/maeparser#tag=v1.3.1
sha256sums = 2a2e75dcce1758b4917a700967bc4aa9db0166a7f436882f0f2360c58e1bcf26
pkgname = maeparser

View File

@ -0,0 +1,5 @@
[maeparser]
source = 'github'
github = 'schrodinger/maeparser'
use_max_tag = true
prefix = 'v'

View File

@ -3,24 +3,27 @@
pkgname=maeparser
pkgver=1.3.1
pkgrel=2
pkgrel=3
pkgdesc='Maestro file parser'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/schrodinger/maeparser'
license=(MIT)
depends=(boost-libs)
makedepends=(cmake boost)
source=(https://github.com/schrodinger/maeparser/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('a8d80f67d1b9be6e23b9651cb747f4a3200132e7d878a285119c86bf44568e36')
depends=(boost-libs
gcc-libs
glibc)
makedepends=(boost
cmake
git)
source=(git+https://github.com/schrodinger/maeparser#tag=v$pkgver)
sha256sums=('2a2e75dcce1758b4917a700967bc4aa9db0166a7f436882f0f2360c58e1bcf26')
build() {
cmake -B build -S $pkgname-$pkgver \
cmake -B build -S $pkgname \
-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
install -Dm644 $pkgname/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
}