diff options
author | Sergej Pupykin | 2024-03-06 09:10:49 +0300 |
---|---|---|
committer | Sergej Pupykin | 2024-03-06 09:10:49 +0300 |
commit | c662d36f10a87fb305927f0dfd2fde663fec4d13 (patch) | |
tree | 00f1c5ab963fefd2315eb83a7da69bd1213736cf | |
download | aur-c662d36f10a87fb305927f0dfd2fde663fec4d13.tar.gz |
init
-rw-r--r-- | .SRCINFO | 92 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 131 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..af93eca2cf9b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,92 @@ +pkgbase = nelson-git + pkgdesc = an array programming language + pkgver = r4035.d1fa17ddd + pkgrel = 1 + url = https://github.com/nelson-lang/nelson/ + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = git + makedepends = boost + depends = alsa-lib + depends = binutils + depends = brotli + depends = bzip2 + depends = curl + depends = db5.3 + depends = dbus + depends = double-conversion + depends = duktape + depends = e2fsprogs + depends = expat + depends = flac + depends = fontconfig + depends = freetype2 + depends = gcc-libs + depends = glib2 + depends = glibc + depends = graphite + depends = harfbuzz + depends = hwloc + depends = icu + depends = jack2 + depends = keyutils + depends = krb5 + depends = lame + depends = libb2 + depends = libcap + depends = libevent + depends = libfabric + depends = libffi + depends = libgcrypt + depends = libglvnd + depends = libgpg-error + depends = libidn2 + depends = libnghttp2 + depends = libnghttp3 + depends = libogg + depends = libpng + depends = libproxy + depends = libpsl + depends = libsndfile + depends = libssh2 + depends = libunistring + depends = libvorbis + depends = libx11 + depends = libxau + depends = libxcb + depends = libxdmcp + depends = libxkbcommon + depends = libxml2 + depends = llvm + depends = lz4 + depends = md4c + depends = mpg123 + depends = numactl + depends = openmpi + depends = openpmix + depends = openssl + depends = openucx + depends = opus + depends = pcre2 + depends = portaudio + depends = qt6-base + depends = qt6-declarative + depends = qt6-svg + depends = systemd-libs + depends = util-linux-libs + depends = xz + depends = zlib + depends = zstd + depends = eigen + depends = qt6-tools + depends = lapack + depends = lapacke + depends = blas + depends = hdf5 + depends = libgit2 + depends = libmatio + source = git+https://github.com/nelson-lang/nelson/ + sha256sums = SKIP + +pkgname = nelson-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..10d7c65dd374 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +pkgname=nelson-git +pkgver=r4035.d1fa17ddd +pkgrel=1 +pkgdesc='an array programming language' +arch=('x86_64') +url='https://github.com/nelson-lang/nelson/' +license=('GPL2') +depends=(alsa-lib binutils brotli bzip2 curl db5.3 dbus double-conversion duktape \ + e2fsprogs expat flac fontconfig freetype2 gcc-libs glib2 glibc graphite \ + harfbuzz hwloc icu jack2 keyutils krb5 lame libb2 libcap libevent libfabric \ + libffi libgcrypt libglvnd libgpg-error libidn2 libnghttp2 libnghttp3 libogg \ + libpng libproxy libpsl libsndfile libssh2 libunistring libvorbis libx11 libxau \ + libxcb libxdmcp libxkbcommon libxml2 llvm lz4 md4c mpg123 numactl openmpi openpmix \ + openssl openucx opus pcre2 portaudio qt6-base qt6-declarative qt6-svg systemd-libs \ + util-linux-libs xz zlib zstd eigen qt6-tools lapack lapacke blas hdf5 libgit2 libmatio) +makedepends=('cmake' 'git' 'boost') +source=("git+https://github.com/nelson-lang/nelson/") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/nelson" +# printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS="-Wno-error=format-security" \ + -DCMAKE_CXX_FLAGS="-Wno-error=format-security" \ + -G "Unix Makefiles" \ + -S "$srcdir/nelson" \ + -B build + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} |