* update mmtf-cpp to 1.1.0-2

This commit is contained in:
Alexander Baldeck 2024-07-25 20:06:48 +02:00
parent b88baec83a
commit ff961d8f4a
3 changed files with 26 additions and 6 deletions

14
mmtf-cpp/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = mmtf-cpp
pkgdesc = The pure C++ implementation of the MMTF API, decoder and encoder
pkgver = 1.1.0
pkgrel = 2
url = http://mmtf.rcsb.org/
arch = any
license = MIT
makedepends = cmake
makedepends = git
depends = msgpack-cxx
source = git+https://github.com/rcsb/mmtf-cpp#tag=v1.1.0
sha256sums = da7160c3015f1aae4ec3062e53e5c0bddbda993f58944a6c010fff9336ec16b7
pkgname = mmtf-cpp

5
mmtf-cpp/.nvchecker.toml Normal file
View File

@ -0,0 +1,5 @@
[mmtf-cpp]
source = 'github'
github = 'rcsb/mmtf-cpp'
use_max_tag = true
prefix = 'v'

View File

@ -3,23 +3,24 @@
pkgname=mmtf-cpp pkgname=mmtf-cpp
pkgver=1.1.0 pkgver=1.1.0
pkgrel=1 pkgrel=2
pkgdesc='The pure C++ implementation of the MMTF API, decoder and encoder' pkgdesc='The pure C++ implementation of the MMTF API, decoder and encoder'
arch=(any) arch=(any)
url='http://mmtf.rcsb.org/' url='http://mmtf.rcsb.org/'
license=(MIT) license=(MIT)
depends=(msgpack-cxx) depends=(msgpack-cxx)
makedepends=(cmake) makedepends=(cmake
source=(https://github.com/rcsb/mmtf-cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz) git)
sha256sums=('021173bdc1814b1d0541c4426277d39df2b629af53151999b137e015418f76c0') source=(git+https://github.com/rcsb/mmtf-cpp#tag=v$pkgver)
sha256sums=('da7160c3015f1aae4ec3062e53e5c0bddbda993f58944a6c010fff9336ec16b7')
build() { build() {
cmake -B build -S $pkgname-$pkgver \ cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build cmake --build build
} }
package() { package() {
DESTDIR="$pkgdir" cmake --install build DESTDIR="$pkgdir" cmake --install build
install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
} }