archrelease: copy trunk to extra-x86_64
[arch-packages.git] / molequeue / repos / extra-x86_64 / PKGBUILD
blob2f2aef556b5ece2f18d6d1f2d2a8adbb5f55052e
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=molequeue
4 pkgver=0.9.0
5 pkgrel=2
6 pkgdesc="Desktop integration of high performance computing resources"
7 arch=(x86_64)
8 url="http://www.openchemistry.org/"
9 license=(custom)
10 depends=(qt5-base)
11 makedepends=(cmake)
12 source=($pkgname-$pkgver.tar.gz::"https://github.com/OpenChemistry/molequeue/archive/$pkgver.tar.gz")
13 sha256sums=('7dd234742c8d73be95281fedf4ed9d09648ecc351afb5f098cd32f48c3df3bd5')
15 prepare() {
16   mkdir -p build
19 build() {
20   cd build
21   cmake ../$pkgname-$pkgver \
22     -DCMAKE_INSTALL_PREFIX=/usr \
23     -DCMAKE_INSTALL_LIBDIR=lib
24   make
27 package() {
28   cd build
29   make DESTDIR="$pkgdir" install
30   install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE  -t "$pkgdir"/usr/share/licenses/$pkgname/