diff options
author | Kuoi | 2022-07-31 11:46:17 +0100 |
---|---|---|
committer | Kuoi | 2022-07-31 11:46:17 +0100 |
commit | 5e18d7dbf3ec93d17e541e53958a163afa86c2ec (patch) | |
tree | 841db23b09cf910569b1414cecf25da92e8d4391 | |
download | aur-5e18d7dbf3ec93d17e541e53958a163afa86c2ec.tar.gz |
init
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ef8832a0542d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = beagle-lib-all + pkgdesc = general purpose library for evaluating the likelihood of sequence evolution on trees (with cuda and opencl) + pkgver = 4.0.0 + pkgrel = 2 + epoch = 1 + url = https://github.com/beagle-dev/beagle-lib + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + makedepends = make + makedepends = java-environment + makedepends = cuda-tools + makedepends = ocl-icd + depends = libtool + depends = opencl-headers + provides = beagle-lib + source = https://github.com/beagle-dev/beagle-lib/archive/v4.0.0.tar.gz + sha512sums = 41f390dd7180584b1ca0b2fc798a88aa718f03ea0d40d9831178f0c14c303255470a84a45df580a2b22307e905230af628af8671b70fda4330d67963e114a06e + +pkgname = beagle-lib-all diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5291ff8e496e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com> + +pkgname=beagle-lib-all +_pkgname=beagle-lib +pkgver=4.0.0 +pkgrel=2 +epoch=1 +pkgdesc="general purpose library for evaluating the likelihood of sequence evolution on trees (with cuda and opencl)" +arch=('i686' 'x86_64') +url="https://github.com/beagle-dev/beagle-lib" +license=('GPL3') +depends=('libtool' 'opencl-headers') +makedepends=('cmake' 'make' 'java-environment' 'cuda-tools' 'ocl-icd') +provides=('beagle-lib') +source=("https://github.com/beagle-dev/beagle-lib/archive/v${pkgver}.tar.gz") +sha512sums=('41f390dd7180584b1ca0b2fc798a88aa718f03ea0d40d9831178f0c14c303255470a84a45df580a2b22307e905230af628af8671b70fda4330d67963e114a06e') + +prepare() { + cd $srcdir/$_pkgname-$pkgver + test -d build || mkdir build +} + +build() { + cd $srcdir/$_pkgname-$pkgver + cd build + export JAVA_HOME=/usr/lib/jvm/default + cmake -DBUILD_CUDA=ON -DBUILD_OPENCL=ON -DCMAKE_INSTALL_PREFIX:PATH=$pkgdir/usr .. +} + +package() { + cd $srcdir/$_pkgname-$pkgver/build + make install +} |