summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Prost-Boucle2021-12-01 14:59:19 +0100
committerAdrien Prost-Boucle2021-12-01 14:59:19 +0100
commit8abe54da308e7f58c036fd82625487d831999f09 (patch)
tree341d893c534fcbfc9b6807abc68c7cce922bed1d
parentf8a00a9d485e7a2d9d88c777e36a69ab99c22849 (diff)
downloadaur-8abe54da308e7f58c036fd82625487d831999f09.tar.gz
Update URL of sources, update package recipes like other ghdl-*-git
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD16
2 files changed, 15 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d0db89661bd..2996f110012e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Thu Aug 26 09:57:24 UTC 2021
pkgbase = ghdl-gcc-git
pkgdesc = VHDL simulator - GCC back-end
- pkgver = 2.0.0dev.r6625.g243bb15ef
+ pkgver = 2.0.0dev.r6833.g1f3b1857b
pkgrel = 1
url = https://github.com/ghdl/ghdl
install = ghdl.install
@@ -16,19 +14,18 @@ pkgbase = ghdl-gcc-git
license = GPL2
makedepends = git
depends = gcc-ada
- provides = ghdl=2.0.0dev.r6625.g243bb15ef
- provides = ghdl-git=2.0.0dev.r6625.g243bb15ef
+ provides = ghdl=2.0.0dev.r6833.g1f3b1857b
+ provides = ghdl-git=2.0.0dev.r6833.g1f3b1857b
conflicts = ghdl
conflicts = ghdl-llvm-git
conflicts = ghdl-mcode-git
options = !emptydirs
options = staticlibs
source = ghdl::git://github.com/ghdl/ghdl.git
- source = ftp://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz
- source = http://isl.gforge.inria.fr/isl-0.24.tar.bz2
+ source = https://gcc.gnu.org/pub/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.xz
+ source = https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.24.tar.bz2
sha256sums = SKIP
sha256sums = d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b
sha256sums = fcf78dd9656c10eb8cf9fbd5f59a0b6b01386205fe1934b3b287a0a1898145c0
pkgname = ghdl-gcc-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 1192369a4c41..7e554031776c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrien Prost-Boucle <adrien.prost-boucle@laposte.net>
pkgname=ghdl-gcc-git
-pkgver=2.0.0dev.r6625.g243bb15ef
+pkgver=2.0.0dev.r6833.g1f3b1857b
pkgrel=1
arch=('x86_64' 'i686' 'pentium4' 'arm' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='VHDL simulator - GCC back-end'
@@ -20,8 +20,8 @@ _islver=0.24
source=(
"ghdl::git://github.com/ghdl/ghdl.git"
- "ftp://ftp.gnu.org/gnu/gcc/gcc-${_gccver}/gcc-${_gccver}.tar.xz"
- "http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2"
+ "https://gcc.gnu.org/pub/gcc/releases/gcc-${_gccver}/gcc-${_gccver}.tar.xz"
+ "https://gcc.gnu.org/pub/gcc/infrastructure/isl-${_islver}.tar.bz2"
)
sha256sums=(
'SKIP'
@@ -77,7 +77,7 @@ prepare() {
# hack! - some configure tests for header files using "$CPP $CPPFLAGS"
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
- # Remove all previously built stuff (optional)
+ # Remove all previously built stuff (needed when gcc sources version changes)
rm -rf "${srcdir}/gcc-build"
mkdir -p "${srcdir}/gcc-build"
}
@@ -163,7 +163,11 @@ package() {
# Remove gcc-specific files, keep only what is related to ghdl
cd "${pkgdir}"
rm -rf "usr/include/libiberty"
- rm -rf "usr/share/"{locale,man}
+ rm -rf "usr/share/locale"
+ rm -rf "usr/share/man/man7"
+ find "usr/share/man/man1" \
+ -maxdepth 1 -mindepth 1 -not -name 'ghdl*' \
+ -exec rm -rf {} +
find "usr/lib" \
-maxdepth 1 -mindepth 1 \
-not -name 'gcc' \
@@ -184,5 +188,5 @@ package() {
# GTKWave has always installed binary ghwdump, now ghdl does it too
# While awaiting for the two projects to agree, you can prevent install of ghwdump here
- #rm -f "${pkgdir}/usr/bin/ghwdump"
+ rm -f "${pkgdir}/usr/bin/ghwdump"
}