diff options
author | Diab Neiroukh | 2021-03-18 02:17:01 +0000 |
---|---|---|
committer | Diab Neiroukh | 2021-03-18 02:17:57 +0000 |
commit | 32a3d3262a65f843cfcc2724a1af0c47e07df62e (patch) | |
tree | 9e35939c7f335faa3fcaa76f8f583f497de1f2c6 | |
parent | dd80f84c35024f8b75d2d482872c2219ed4529c3 (diff) | |
download | aur-llvm-proton-bin.tar.gz |
Initial Commit
Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 53 |
3 files changed, 42 insertions, 26 deletions
@@ -1,13 +1,14 @@ pkgbase = llvm-proton-bin - pkgdesc = A LLVM and Clang compiler toolchain built for kernel development - pkgver = 20210130 + pkgdesc = A LLVM and Clang compiler toolchain built for kernel development. + pkgver = 20210313 pkgrel = 1 epoch = 1 url = https://github.com/kdrag0n/proton-clang arch = x86_64 - license = custom + license = custom: Apache License v2.0 with LLVM Exceptions, + license = GPL3 options = !strip - source = https://github.com/kdrag0n/proton-clang/archive/20210130.tar.gz + source = https://github.com/kdrag0n/proton-clang/archive/20210313.tar.gz source = license-llvm.txt::https://raw.githubusercontent.com/llvm/llvm-project/4a1b95bda0c444798a5240fe924dd127b776d12d/llvm/LICENSE.TXT source = license-binutils.txt::https://www.gnu.org/licenses/gpl-3.0.txt b2sums = SKIP diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e92547ee1e6e --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +pkg/
+src/
+*.tar.gz
+license-*.txt
+
+*.pkg.*
@@ -1,31 +1,40 @@ -# Maintainer: Diab Neiroukh <officiallazerl0rd@gmail.com> -# Contributor: Albert I (krasCGQ) <kras@raphielgang.org> +# Maintainer: Diab Neiroukh <lazerl0rd at thezest dot dev> +# Contributor: Albert I (krasCGQ) <kras at raphielgang dot org> pkgname="llvm-proton-bin" -pkgver=20210130 +pkgver="20210313" pkgrel=1 epoch=1 -pkgdesc="A LLVM and Clang compiler toolchain built for kernel development" -arch=(x86_64) +arch=("x86_64") +pkgdesc="A LLVM and Clang compiler toolchain built for kernel development." url="https://github.com/kdrag0n/proton-clang" -license=(custom) -options=(!strip) -source=(https://github.com/kdrag0n/proton-clang/archive/$pkgver.tar.gz - license-llvm.txt::https://raw.githubusercontent.com/llvm/llvm-project/4a1b95bda0c444798a5240fe924dd127b776d12d/llvm/LICENSE.TXT - license-binutils.txt::https://www.gnu.org/licenses/gpl-3.0.txt) -b2sums=('SKIP' - '74efe5f21dd0f11cf12ba23a94f7e1f3032512e9e10f2d35cc3dc9cfc67277112d152af1e05363b56280cd7437f41f093200a5aef7b7e52f9f3325c9be9d20ca' - '74915e048cf8b5207abf603136e7d5fcf5b8ad512cce78a2ebe3c88fc3150155893bf9824e6ed6a86414bbe4511a6bd4a42e8ec643c63353dc8eea4a44a021cd') +license=("custom: Apache License v2.0 with LLVM Exceptions", "GPL3") +source=( + https://github.com/kdrag0n/proton-clang/archive/$(curl -s "https://api.github.com/repos/$(echo $url | sed 's/https\?:\/\/github.com\///')/releases/latest" | grep -w tag_name | cut -d ':' -f 2 | sed -e 's/[[:space:]]//' -e 's/"//g' -e 's/,//').tar.gz + license-llvm.txt::https://raw.githubusercontent.com/llvm/llvm-project/4a1b95bda0c444798a5240fe924dd127b776d12d/llvm/LICENSE.TXT + license-binutils.txt::https://www.gnu.org/licenses/gpl-3.0.txt +) +b2sums=( + "SKIP" + "74efe5f21dd0f11cf12ba23a94f7e1f3032512e9e10f2d35cc3dc9cfc67277112d152af1e05363b56280cd7437f41f093200a5aef7b7e52f9f3325c9be9d20ca" + "74915e048cf8b5207abf603136e7d5fcf5b8ad512cce78a2ebe3c88fc3150155893bf9824e6ed6a86414bbe4511a6bd4a42e8ec643c63353dc8eea4a44a021cd" +) +options=( + "!strip" +) -pkgver() { - ( set -o pipefail - curl -s "https://api.github.com/repos/$(echo $url | sed 's/https\?:\/\/github.com\///')/releases/latest" | - grep -w tag_name | cut -d ':' -f 2 | sed -e 's/[[:space:]]//' -e 's/"//g' -e 's/,//' - ) +pkgver() +{ + ( + set -o pipefail + curl -s "https://api.github.com/repos/$(echo $url | sed 's/https\?:\/\/github.com\///')/releases/latest" | + grep -w tag_name | cut -d ':' -f 2 | sed -e 's/[[:space:]]//' -e 's/"//g' -e 's/,//' + ) } -package() { - install -d "$pkgdir/opt" - cp -r "proton-clang-$pkgver" "$pkgdir/opt/proton-clang" - install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" license-{llvm,binutils}.txt +package() +{ + install -d "$pkgdir/opt" + cp -r "proton-clang-$pkgver" "$pkgdir/opt/proton-clang" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" license-{llvm,binutils}.txt } |