mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:43:12 +08:00
molequeue: import as avogadrolibs new dependency
This commit is contained in:
parent
e0cb4d95c4
commit
d6d6b77a1e
37
molequeue/PKGBUILD
Normal file
37
molequeue/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Contributions from Arch:
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
|
||||
pkgname=molequeue
|
||||
pkgver=0.8.0
|
||||
pkgrel=1
|
||||
pkgdesc="Desktop integration of high performance computing resources"
|
||||
arch=(x86_64)
|
||||
url="http://www.openchemistry.org/"
|
||||
license=(custom)
|
||||
depends=(qt5-base)
|
||||
makedepends=(cmake)
|
||||
source=($pkgname-$pkgver.tar.gz::"https://github.com/OpenChemistry/molequeue/archive/$pkgver.tar.gz"
|
||||
molequeue-gcc6.patch::"https://github.com/OpenChemistry/molequeue/commit/a983ff61.patch")
|
||||
md5sums=('2f49f3e28965af6fec8a6df37d8ec697'
|
||||
'd57372453ba647ea741b0efb7e50dc50')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
# Fix GCC6 detection
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 -i ../molequeue-gcc6.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user