Package Details: c3c-bin 0.6.2-1

Git Clone URL: https://aur.archlinux.org/c3c-bin.git (read-only, click to copy)
Package Base: c3c-bin
Description: C3 is an evolution of C enabling the same paradigms and retaining the same syntax as far as possible. Stable Release (with LLVM 16)
Upstream URL: https://github.com/c3lang/c3c.git
Licenses: MIT, LGPL3
Conflicts: c3c
Provides: c3c
Submitter: OdnetninI
Maintainer: OdnetninI
Last Packager: OdnetninI
Votes: 1
Popularity: 0.104520
First Submitted: 2023-11-22 08:21 (UTC)
Last Updated: 2024-08-04 11:55 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

OdnetninI commented on 2024-08-04 11:56 (UTC)

@mzakyr42, the issue was introduced in the last version of c3c where they changed the directory when release the tar files. Now it is fixed, that you for reporting it :)

mzakyr42 commented on 2024-08-03 22:21 (UTC)

sir the directory "${srcdir}/linux" is not there, here's the diff sir:

diff --git a/PKGBUILD b/PKGBUILD
index e145dea..00eb6de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,18 +16,18 @@ source=('https://github.com/c3lang/c3c/releases/download/latest/c3-linux.tar.gz'
 md5sums=('SKIP')

 pkgver() {
-    cd "${srcdir}/linux"
+    cd "${srcdir}/c3"
     ./c3c -V | grep "C3 Compiler Version" | tr -s " " | cut -f 2 -d ':' | cut -f 2 -d " "
 }

 package() {
-    cd "${srcdir}/linux/"
+    cd "${srcdir}/c3"

     install -d "${pkgdir}/usr/bin"
     install -d "${pkgdir}/usr/lib/${_pkgname}"

-    cp "${srcdir}/linux/c3c" "${pkgdir}/usr/lib/${_pkgname}/c3c"
-    cp -r "${srcdir}/linux/lib" "${pkgdir}/usr/lib/${_pkgname}/lib"
+    cp "${srcdir}/c3/c3c" "${pkgdir}/usr/lib/${_pkgname}/c3c"
+    cp -r "${srcdir}/c3/lib" "${pkgdir}/usr/lib/${_pkgname}/lib"
     ln -s "/usr/lib/${_pkgname}/c3c" "${pkgdir}/usr/bin/c3c"
 }

all respect for you sir