summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaspar Gutsche2024-12-02 10:20:42 +0100
committerCaspar Gutsche2024-12-02 10:25:27 +0100
commita93eb962980181b007689efc6aba28eaf9dcaf93 (patch)
tree8bcb50c40dfb357d73221ed95f852bd3ff003399
downloadaur-a93eb962980181b007689efc6aba28eaf9dcaf93.tar.gz
initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--LICENSE9
-rw-r--r--PKGBUILD28
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..3c2a2fcc227d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = fortran-stdlib-git
+ pkgdesc = Fortran standard library implementation
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/fortran-lang/stdlib
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = python-pipx
+ depends = gcc
+ depends = cmake
+ depends = make
+ depends = gcc-fortran
+ source = git+https://github.com/fortran-lang/stdlib.git
+ sha256sums = SKIP
+
+pkgname = fortran-stdlib-git
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..4d6694e32312
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,9 @@
+Binary files, as well as any files describing changes ("patches") to the software that is being built are excluded from this license. They are provided under the license terms of the software they describe changes for.
+
+Any files containing a license notice are excluded from this license. They are provided under the license terms defined in their respective notices.
+
+Copyright 2024 Arch Linux Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e5942212ed5e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Caspar Gutsche <caspargutsche1@gmail.com>
+pkgname=fortran-stdlib-git
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Fortran standard library implementation"
+arch=('x86_64')
+url="https://github.com/fortran-lang/stdlib"
+license=('MIT')
+depends=('gcc' 'cmake' 'make' 'gcc-fortran')
+makedepends=('git' 'python-pipx')
+source=("git+$url.git")
+sha256sums=('SKIP')
+
+build() {
+ cd "$srcdir/stdlib"
+ pipx install fypp
+ PATH={$PATH}:~/.local/bin
+ cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+ cmake --build build --target test
+}
+
+package() {
+ cd "$srcdir/stdlib"
+ sudo cmake --install build --prefix="$pkgdir/usr"
+}
+
+# vim:set ts=2 sw=2 et: