* update coordgen to 3.0.2-2

This commit is contained in:
Alexander Baldeck 2024-08-18 10:42:22 +02:00
parent 90934cf162
commit 09f3012f7e
3 changed files with 35 additions and 9 deletions

17
coordgen/.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = coordgen
pkgdesc = Schrodinger-developed 2D Coordinate Generation
pkgver = 3.0.2
pkgrel = 2
url = https://github.com/schrodinger/coordgenlibs
arch = x86_64
license = BSD-3-Clause
makedepends = boost
makedepends = cmake
makedepends = git
depends = gcc-libs
depends = glibc
depends = maeparser
source = git+https://github.com/schrodinger/coordgenlibs#tag=v3.0.2
sha256sums = 4fae2a90370dfa4ad62792bbbb7a01169d3b6f96a929fe3af53ada0b389e6962
pkgname = coordgen

5
coordgen/.nvchecker.toml Normal file
View File

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

View File

@ -3,18 +3,22 @@
pkgname=coordgen
pkgver=3.0.2
pkgrel=1
pkgrel=2
pkgdesc='Schrodinger-developed 2D Coordinate Generation'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/schrodinger/coordgenlibs'
license=(BSD)
depends=(maeparser)
makedepends=(cmake boost)
source=(https://github.com/schrodinger/coordgenlibs/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('f67697434f7fec03bca150a6d84ea0e8409f6ec49d5aab43badc5833098ff4e3')
license=(BSD-3-Clause)
depends=(gcc-libs
glibc
maeparser)
makedepends=(boost
cmake
git)
source=(git+https://github.com/schrodinger/coordgenlibs#tag=v$pkgver)
sha256sums=('4fae2a90370dfa4ad62792bbbb7a01169d3b6f96a929fe3af53ada0b389e6962')
build() {
cmake -B build -S coordgenlibs-$pkgver \
cmake -B build -S coordgenlibs \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCOORDGEN_USE_MAEPARSER=ON
cmake --build build
@ -23,6 +27,6 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 coordgenlibs-$pkgver/templates.mae -t "$pkgdir"/usr/share/coordgen
install -Dm644 coordgenlibs-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
install -Dm644 coordgenlibs/templates.mae -t "$pkgdir"/usr/share/coordgen
install -Dm644 coordgenlibs/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}