summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarsten Teibes2019-08-29 00:29:06 +0200
committerCarsten Teibes2019-08-29 00:29:06 +0200
commit1dee098d959691061f92a32eb085c4b026031140 (patch)
tree213ebb525fb03a188d7e32e47f2ebefb8f4f13af /PKGBUILD
parent40a8d0c296da3441710435eb672d2ae4abe2ea90 (diff)
downloadaur-devkita64.tar.gz
[upd] r9→r13
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD50
1 files changed, 25 insertions, 25 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b6b93ad98c6..8721e4ab79f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=devkita64
-pkgver=r9
-_buildscriptsver=20180514
-_binutilsver=2.30
-_gccver=8.1.0
-_newlibver=3.0.0
-_gdbver=8.0
+pkgver=r13
+_buildscriptsver=20190701
+_binutilsver=2.32
+_gccver=8.3.0
+_newlibver=3.1.0
+_gdbver=8.2.1
pkgrel=1
pkgdesc="AArch64 toolchain for Nintendo Switch homebrew development"
arch=('x86_64')
@@ -14,57 +14,57 @@ url="http://devkitpro.org"
license=('GPL')
options=(!strip libtool staticlibs emptydirs)
depends=('flex' 'libmpc' 'python' 'xz')
+conflicts=('devkitA64')
+provides=('devkitA64')
install=devkita64.install
-source=("https://github.com/devkitPro/buildscripts/releases/download/v$_buildscriptsver/buildscripts-$_buildscriptsver.tar.bz2"
- "https://github.com/devkitPro/buildscripts/releases/download/sources/binutils-$_binutilsver.tar.bz2"
+source=(buildscripts-$_buildscriptsver.tar.gz::"https://github.com/devkitPro/buildscripts/archive/v$_buildscriptsver.tar.gz"
+ "https://github.com/devkitPro/buildscripts/releases/download/sources/binutils-$_binutilsver.tar.xz"
"https://github.com/devkitPro/buildscripts/releases/download/sources/gcc-$_gccver.tar.xz"
"https://github.com/devkitPro/buildscripts/releases/download/sources/newlib-$_newlibver.tar.gz"
"https://github.com/devkitPro/buildscripts/releases/download/sources/gdb-$_gdbver.tar.xz"
"devkita64.sh"
"devkita64.fish")
-sha256sums=('c7c11bacfdbcc634d2d70ac17785a0701d5eaaa6753762ca57a918c3841119ac'
- 'efeade848067e9a03f1918b1da0d37aaffa0b0127a06b5e9236229851d9d0c09'
- '1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153'
- 'c8566335ee74e5fcaeb8595b4ebd0400c4b043d6acb3263ecb1314f8f5501332'
- 'f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee'
+sha256sums=('3dbe4ee7ef819cb5ee0dd87632eea69cfe355d0f5723ce58343775a5ab6684d5'
+ '0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04'
+ '64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c'
+ 'fb4fa1cc21e9060719208300a61420e4089d6de6ef59cf533b57fe74801d102a'
+ 'baaabb28026ba47e3fd56f0138e020c9b3d51e11800a3b220d736fae8e677112'
'c71d64c68947c25bf48a5141589f107f5d6269e38e37c4bf528f614ff37b8981'
'a068e1d2fbbd07f4f520824d256696244bcf85da7bf2142a1a0fe1bd550490e8')
-noextract=("binutils-$_binutilsver.tar.bz2" "gcc-$_gccver.tar.xz"
+noextract=("binutils-$_binutilsver.tar.xz" "gcc-$_gccver.tar.xz"
"newlib-$_newlibver.tar.gz" "gdb-$_gdbver.tar.xz")
prepare() {
- # reset build dir and force reinstalling already built tools
+ # reset build dir
rm -rf build
- [ -d buildscripts/.devkitA64 ] && find buildscripts/.devkitA64 \
- \( -name "installed-*" -o -name "installed" \) -delete
- (cd buildscripts
+ (cd buildscripts-$_buildscriptsver
+ # force reinstalling already built tools
+ [ -d .devkitA64 ] && find .devkitA64 \( -name "installed-*" -o -name "installed" \) -delete
+
# generate config file for automatic build
cat << END > config.sh
#!bin/sh
BUILD_DKPRO_PACKAGE=3
BUILD_DKPRO_INSTALLDIR="$srcdir"/build
BUILD_DKPRO_SRCDIR="$srcdir"
-BUILD_DKPRO_SKIP_LIBRARIES=1
BUILD_DKPRO_SKIP_TOOLS=1
BUILD_DKPRO_AUTOMATED=1
-
END
# do not try to download or extract tool packages
sed 's/ \$hostarchives/ ""/g' -i build-devkit.sh
# do not build gdb with guile support (broken)
- sed '/gdb/,$ s/--disable-werror/& --with-guile=no/' -i dka64/scripts/build-gcc.sh
+ #sed '/gdb/,$ s/--disable-werror/& --with-guile=no/' -i dka64/scripts/build-gcc.sh
# fix search path to use correct tools
- sed 's|$PATH:$TOOLPATH/$package/bin|$TOOLPATH/$package/bin:$PATH|' -i \
- build-devkit.sh
- )
+ sed 's|$PATH:$TOOLPATH/$package/bin|$TOOLPATH/$package/bin:$PATH|' -i build-devkit.sh
+ )
}
build() {
- cd buildscripts
+ cd buildscripts-$_buildscriptsver
# disable conflicting build flags
unset CPPFLAGS