diff options
author | Klaus Alexander Seistrup | 2022-12-14 09:06:45 +0100 |
---|---|---|
committer | Klaus Alexander Seistrup | 2022-12-14 09:06:45 +0100 |
commit | f45fcc174a2387af6de0708f0c94d374ff4819d1 (patch) | |
tree | 2e666c5afc1efcb92511934b4bce309f5d15479d | |
download | aur-f45fcc174a2387af6de0708f0c94d374ff4819d1.tar.gz |
Initial commit (v0.15.2-1)
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | PKGBUILD | 55 | ||||
-rw-r--r-- | codon.sh | 3 |
3 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6f33c795aaea --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = codon-bin + pkgdesc = High-performance, zero-overhead, extensible Python compiler using LLVM + pkgver = 0.15.2 + pkgrel = 1 + url = https://github.com/exaloop/codon + arch = x86_64 + license = custom:Business Source License 1.1 + depends = openmp + depends = python-setuptools + provides = codon + conflicts = codon + noextract = codon-linux-x86_64.tar.gz + source = codon.sh + source = https://github.com/exaloop/codon/releases/download/v0.15.2/codon-linux-x86_64.tar.gz + source = https://raw.githubusercontent.com/exaloop/codon/develop/LICENSE + source = https://raw.githubusercontent.com/exaloop/codon/develop/README.md + sha256sums = ac8fa16770f809daf61c3726194b71c0561791a83831a246fab4929ef6395d9f + sha256sums = a6cb31780cd8ccc78b176dee5a0f4c662f4c3c2c397044f920b6366f67013f9f + sha256sums = SKIP + sha256sums = SKIP + sha512sums = cc4b100f55a02a0f7a6920668f7ab58986c2c77e76eab20e94def42ac740f054c450bc6d6ec11535db31e16fc32fa934d697f01bae9dfe5796e3d2f1c807f446 + sha512sums = 7b308dfdd71d85f3fdfdfdee8fafb5d4eb896c7c7e0ab450a64d0666280e941e23facf36e317e8c53ced56324348419ec997b0a980372ab06ee0aae957d856cb + sha512sums = SKIP + sha512sums = SKIP + b2sums = 718328c0651e383b892e7c1f00b795f88c6f4775b02e3a2ba217873d105e51824f380ba55b8602d1698da12ee3609641a753a6aa7660d5d4df52ea855eca5ca7 + b2sums = 4f16ee943a6a1b0a9d9271f8b888772daee8effffe9a54fb3dc2802b27b1727affa55c986bff5df02ac9025c4d65673d7821a3c2d6ee275cff5a50ae6c90460b + b2sums = SKIP + b2sums = SKIP + +pkgname = codon-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..97f20e738aa2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Klaus Alexander Seistrup <klaus@seistrup.dk> +# -*- sh -*- + +pkgname='codon-bin' +_pkgname="${pkgname%%-bin}" +pkgver=0.15.2 +pkgrel=1 +pkgdesc='High-performance, zero-overhead, extensible Python compiler using LLVM' +arch=('x86_64') +url='https://github.com/exaloop/codon' +_rawurl='https://raw.githubusercontent.com/exaloop/codon/develop' +license=('custom:Business Source License 1.1') +depends=( + 'openmp' + 'python-setuptools' +) +provides=('codon') +conflicts=('codon') +_tarball='codon-linux-x86_64.tar.gz' +source=( + 'codon.sh' + "$url/releases/download/v$pkgver/$_tarball" + "$_rawurl/LICENSE" + "$_rawurl/README.md" +) +noextract=("$_tarball") + +package() { + umask 022 + install -dm0755 "$pkgdir/opt" + + bsdtar -xf "$_tarball" -C "$pkgdir/opt" + + install -Dm0755 codon.sh "$pkgdir/usr/bin/codon" + install -Dm0644 README.md "$pkgdir/usr/share/doc/$_pkgname/README.md" + install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +sha256sums=( + 'ac8fa16770f809daf61c3726194b71c0561791a83831a246fab4929ef6395d9f' + 'a6cb31780cd8ccc78b176dee5a0f4c662f4c3c2c397044f920b6366f67013f9f' + SKIP SKIP +) +sha512sums=( + 'cc4b100f55a02a0f7a6920668f7ab58986c2c77e76eab20e94def42ac740f054c450bc6d6ec11535db31e16fc32fa934d697f01bae9dfe5796e3d2f1c807f446' + '7b308dfdd71d85f3fdfdfdee8fafb5d4eb896c7c7e0ab450a64d0666280e941e23facf36e317e8c53ced56324348419ec997b0a980372ab06ee0aae957d856cb' + SKIP SKIP +) +b2sums=( + '718328c0651e383b892e7c1f00b795f88c6f4775b02e3a2ba217873d105e51824f380ba55b8602d1698da12ee3609641a753a6aa7660d5d4df52ea855eca5ca7' + '4f16ee943a6a1b0a9d9271f8b888772daee8effffe9a54fb3dc2802b27b1727affa55c986bff5df02ac9025c4d65673d7821a3c2d6ee275cff5a50ae6c90460b' + SKIP SKIP +) + +# eof diff --git a/codon.sh b/codon.sh new file mode 100644 index 000000000000..daf883b1b6fd --- /dev/null +++ b/codon.sh @@ -0,0 +1,3 @@ +#!/bin/sh +exec env PATH="/opt/codon-deploy/bin:$PATH" /opt/codon-deploy/bin/codon "$@" +# eof |