Package Details: voc-git v2.1.2.r9.ge376e59f-1

Git Clone URL: https://aur.archlinux.org/voc-git.git (read-only, click to copy)
Package Base: voc-git
Description: A free and open source implementation of the Oberon-2 language and libraries.
Upstream URL: http://oberon.vishap.am
Licenses: GPL3
Submitter: leledumbo
Maintainer: leledumbo
Last Packager: leledumbo
Votes: 4
Popularity: 0.25
First Submitted: 2018-02-24 21:06 (UTC)
Last Updated: 2024-02-24 13:18 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

aixp commented on 2025-12-26 11:04 (UTC)

https://github.com/vishapoberon/compiler/issues/112

aixp commented on 2025-11-27 17:39 (UTC) (edited on 2025-11-27 17:41 (UTC) by aixp)

The current upstream version of voc no longer builds with GCC.

This patch:

  • removes GCC from depends,
  • makes Clang a hard dependency,
  • sets CC=clang during build (env CC=clang make full),
  • updates pkgver to match latest upstream commit.

Tested on x86_64 with latest clang. Please consider applying.

diff --git a/PKGBUILD b/PKGBUILD
index 3853eec..a381b0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,17 @@
 # Maintainer: Mario Ray Mahardhika <leledumbo_cool@yahoo.co.id>
 pkgname=voc-git
-pkgver=v2.1.2.r9.ge376e59f
+pkgver=v2.1.2.r57.g84516b2a
 pkgrel=1
 pkgdesc="A free and open source implementation of the Oberon-2 language and libraries."
 arch=('i686' 'x86_64')
 url="http://oberon.vishap.am"
 license=('GPL3')
 makedepends=('git')
-depends=('gcc' 'make' 'diffutils')
-optdepends=('clang')
+depends=('clang' 'make' 'diffutils')
 source=("$pkgname::git+https://github.com/vishaps/voc")
 md5sums=('SKIP')
 install=$pkgname.install

-# uncomment for clang backend, the default is gcc
-# backend=clang
-
 pkgver() {
   cd $pkgname
   git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
@@ -23,11 +19,7 @@ pkgver() {

 build() {
   cd $pkgname
-  if [ "$backend" == "clang" ]
-  then
-    export CC=clang
-  fi
-  make full
+  env CC=clang make full
 }

 package() {