Package Details: vpcs-git 0.8.3.r231.a19e146-1

Git Clone URL: https://aur.archlinux.org/vpcs-git.git (read-only, click to copy)
Package Base: vpcs-git
Description: Simple Virtual PC Simulator
Upstream URL: https://github.com/GNS3/vpcs
Keywords: gns3
Licenses: BSD-2-Clause
Conflicts: vpcs
Provides: vpcs
Submitter: Andrei_Korshikov
Maintainer: Andrei_Korshikov
Last Packager: Andrei_Korshikov
Votes: 1
Popularity: 0.169915
First Submitted: 2024-09-24 14:53 (UTC)
Last Updated: 2024-09-24 14:53 (UTC)

Dependencies (4)

Required by (2)

Sources (2)

Pinned Comments

Andrei_Korshikov commented on 2024-09-26 19:35 (UTC)

The package repository is mirrored to Codeberg and GitHub.

Latest Comments

nicolasfarmer commented on 2024-10-22 01:30 (UTC)

Simple patches to enable compiling on ARM. VPCS works fine.

diff --git a/PKGBUILD b/PKGBUILD
index 92aa0a1..136e6ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ _release='0.8.3'
 pkgver=0.8.3.r231.a19e146
 pkgrel=1
 pkgdesc='Simple Virtual PC Simulator'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'aarch64')
 url='https://github.com/GNS3/vpcs'
 license=('BSD-2-Clause')
 depends=('glibc')
@@ -45,7 +45,10 @@ build() {
         'x86_64')
             ./mk.sh 'amd64'
             ;;
-        *)
+       'aarch64')
+           ./mk.sh 'aarch64'
+           ;;
+        *)    
             printf 'Architecture "%s" is not supported.\n' "${CARCH}"
             exit
             ;;
diff --git a/src/mk.sh b/src/mk.sh
index 9504347..03adde3 100755
--- a/src/mk.sh
+++ b/src/mk.sh
@@ -62,6 +62,10 @@ if [ $arch = "amd64" -o $arch = "x86_64" -o $arch = "64" ]; then
     CCOPT=$CCOPT" -m64"
 fi

+if [ $arch = "aarch64" ]; then
+    CCOPT=$CCOPT""
+fi
+
 if [ $os = "Darwin" ]; then
     CCOPT=$CCOPT""
 fi

Andrei_Korshikov commented on 2024-09-26 19:35 (UTC)

The package repository is mirrored to Codeberg and GitHub.