diff options
author | gilcu3 | 2023-11-04 13:02:44 +0100 |
---|---|---|
committer | gilcu3 | 2023-11-04 13:02:44 +0100 |
commit | e212416bae24f175ed22446139a43e85fc4b8882 (patch) | |
tree | 9e3361dd83236e8c970a517cc0e1dfae01c5fd94 | |
download | aur-flatter-git.tar.gz |
init
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..aec6ad828a7e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = flatter-git + pkgdesc = flatter is a library for performing (f)ast (lat)tice (r)eduction of integer lattice bases + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/keeganryan/flatter + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = cmake + depends = eigen + depends = gmp + depends = fplll + depends = gcc-libs + depends = mpfr + depends = glibc + depends = lapack + depends = openmp + optdepends = intel-oneapi-mkl + source = git+https://github.com/keeganryan/flatter.git + sha256sums = SKIP + +pkgname = flatter-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cbfc447f3c79 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: gilcu3 +# Contributor: gilcu3 + +_pkgname=flatter +pkgname=${_pkgname}-git +pkgver=0.1 +pkgrel=1 +pkgdesc="flatter is a library for performing (f)ast (lat)tice (r)eduction of integer lattice bases" +arch=('x86_64') +url='https://github.com/keeganryan/flatter' +license=('GPL3') +depends=('eigen' 'gmp' 'fplll' 'gcc-libs' 'mpfr' 'glibc' 'lapack' 'openmp') +optdepends=('intel-oneapi-mkl') +makedepends=('git' 'cmake') +source=("git+$url.git") +sha256sums=('SKIP') + + +build() { + cmake -B build -S "$_pkgname" -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX='/usr' -Wno-dev + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} |