aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gdb-embedded
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2019-11-13 11:51:34 +0100
committerMilan P. Stanić <mps@arvanta.net>2019-11-13 15:08:39 +0100
commitb2d1ce56606c2991ed433b9403ef88ea34243955 (patch)
tree27f9986f124d095a20d69b4127e8b05dc6376072 /testing/gdb-embedded
parentf8753f56753d7524a469dae868b8d7d0c2ca3f5d (diff)
downloadaports-b2d1ce56606c2991ed433b9403ef88ea34243955.tar.bz2
aports-b2d1ce56606c2991ed433b9403ef88ea34243955.tar.xz
testing/gdb-embedded: upgrade to 8.3.1
Diffstat (limited to 'testing/gdb-embedded')
-rw-r--r--testing/gdb-embedded/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/testing/gdb-embedded/APKBUILD b/testing/gdb-embedded/APKBUILD
index 5dc3ddcea9..5749470e5e 100644
--- a/testing/gdb-embedded/APKBUILD
+++ b/testing/gdb-embedded/APKBUILD
@@ -7,8 +7,8 @@ _targets="
msp430-elf
"
pkgname="$_pkgbase-embedded"
-pkgver=8.3
-pkgrel=1
+pkgver=8.3.1
+pkgrel=0
pkgdesc="The GNU Debugger for embedded targets"
url="https://www.sourceware.org/gdb/"
arch="all"
@@ -31,11 +31,11 @@ options="!check"
source="https://ftp.gnu.org/gnu/$_pkgbase/$_pkgbase-$pkgver.tar.xz"
for target in $_targets; do
targetnorm="${target//-/_}"
- subpackages="${_pkgbase}-${target}:${targetnorm} ${subpackages}"
+ subpackages="$_pkgbase-$target:$targetnorm $subpackages"
done
builddir="$srcdir"/$_pkgbase-$pkgver
-build () {
+build() {
for target in $_targets; do
mkdir -p "$srcdir/build/$target"
cd "$srcdir/build/$target"
@@ -68,7 +68,7 @@ package() {
}
_install_subpkg() {
- target="${subpkgname#${_pkgbase}-}"
+ target="${subpkgname#$_pkgbase-}"
pkgdesc="The GNU Debugger for $target"
cd "$srcdir/build/$target"
make DESTDIR="$subpkgdir" install
@@ -76,10 +76,10 @@ _install_subpkg() {
rm -rf "$subpkgdir"/deleteme
# those are provided by gdb
- rm -rf "$subpkgdir"/usr/share
+ rm -rf "${subpkgdir:?}"/usr/share
# those are provided by binutils
- rm -rf "$subpkgdir"/usr/include
- rm -rf "$subpkgdir"/usr/lib
+ rm -rf "${subpkgdir:?}"/usr/include
+ rm -rf "${subpkgdir:?}"/usr/lib
}
arm_none_eabi() {
@@ -99,4 +99,4 @@ msp430_elf() {
}
-sha512sums="47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1 gdb-8.3.tar.xz"
+sha512sums="9053a2dc6b9eb921907afbc4cecc75d635aa76df5e8c4f0e5824ccf57cb206b299c19b127fff000b65c334826ff8304a54ff6098428365a8e997cca886c39e9a gdb-8.3.1.tar.xz"