1# Maintainer: Antonio Rojas <arojas@archlinux.org>
2
3pkgname=molequeue
4pkgver=0.9.0
5pkgrel=4
6pkgdesc='Desktop integration of high performance computing resources'
7arch=(x86_64_v3)
8url='http://www.openchemistry.org/'
9license=(BSD-3-Clause)
10depends=(gcc-libs
11 glibc
12 qt5-base)
13makedepends=(cmake
14 git)
15source=(git+https://github.com/OpenChemistry/molequeue#tag=$pkgver)
16sha256sums=('b5fc29f17a4d182ae1860fa891a2cc8e3c5b7aedc1e84c135ad4f76b2946c644')
17
18build() {
19 cmake -B build -S $pkgname \
20 -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
21 -DCMAKE_INSTALL_PREFIX=/usr
22 cmake --build build
23}
24
25package() {
26 DESTDIR="$pkgdir" cmake --install build
27 install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
28}