diff options
author | Eduardo José Gómez Hernández | 2024-01-13 17:45:14 +0100 |
---|---|---|
committer | Eduardo José Gómez Hernández | 2024-01-13 17:45:14 +0100 |
commit | b3a163bd099d9d480a0d058af1e81a8ea42eacd0 (patch) | |
tree | 7c25dad62cd64026a62389f68b3b43931056fc42 | |
parent | a27aa1a79940c558dc4ac7c2e2778451cdd38320 (diff) | |
download | aur-b3a163bd099d9d480a0d058af1e81a8ea42eacd0.tar.gz |
Update to track lastest c3c-bin
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = c3c-bin pkgdesc = C3 is an evolution of C enabling the same paradigms and retaining the same syntax as far as possible. Stable Release (with LLVM 16) - pkgver = 0.5.0 + pkgver = 0.5.2 pkgrel = 1 url = https://github.com/c3lang/c3c.git arch = x86_64 @@ -9,7 +9,7 @@ pkgbase = c3c-bin makedepends = binutils provides = c3c conflicts = c3c - source = https://github.com/c3lang/c3c/releases/download/release_0.5/c3-linux.tar-6.gz - md5sums = e97e051ba4115265dcd47ba486665aae + source = https://github.com/c3lang/c3c/releases/download/latest/c3-linux.tar.gz + md5sums = SKIP pkgname = c3c-bin @@ -1,7 +1,7 @@ # Maintainer: Eduardo Jose Gomez Hernandez <eduardo@edujgh.net> pkgname=c3c-bin _pkgname=c3c -pkgver=0.5.0 +pkgver=0.5.2 pkgrel=1 pkgdesc="C3 is an evolution of C enabling the same paradigms and retaining the same syntax as far as possible. Stable Release (with LLVM 16)" arch=(x86_64) @@ -12,11 +12,15 @@ makedepends=('binutils') provides=(c3c) conflicts=(c3c) -source=('https://github.com/c3lang/c3c/releases/download/release_0.5/c3-linux.tar-6.gz') -md5sums=('e97e051ba4115265dcd47ba486665aae') +source=('https://github.com/c3lang/c3c/releases/download/latest/c3-linux.tar.gz') +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/linux" + ./c3c -V | grep "C3 Compiler Version" | tr -s " " | cut -f 2 -d ':' | cut -f 2 -d " " +} package() { - echo "Hola" cd "${srcdir}/linux/" install -d "${pkgdir}/usr/bin" |