summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD50
2 files changed, 42 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48b64c54918..80249fcace2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = devkita64
pkgdesc = AArch64 toolchain for Nintendo Switch homebrew development
- pkgver = r9
+ pkgver = r13
pkgrel = 1
url = http://devkitpro.org
install = devkita64.install
@@ -10,26 +10,28 @@ pkgbase = devkita64
depends = libmpc
depends = python
depends = xz
- noextract = binutils-2.30.tar.bz2
- noextract = gcc-8.1.0.tar.xz
- noextract = newlib-3.0.0.tar.gz
- noextract = gdb-8.0.tar.xz
+ provides = devkitA64
+ conflicts = devkitA64
+ noextract = binutils-2.32.tar.xz
+ noextract = gcc-8.3.0.tar.xz
+ noextract = newlib-3.1.0.tar.gz
+ noextract = gdb-8.2.1.tar.xz
options = !strip
options = libtool
options = staticlibs
options = emptydirs
- source = https://github.com/devkitPro/buildscripts/releases/download/v20180514/buildscripts-20180514.tar.bz2
- source = https://github.com/devkitPro/buildscripts/releases/download/sources/binutils-2.30.tar.bz2
- source = https://github.com/devkitPro/buildscripts/releases/download/sources/gcc-8.1.0.tar.xz
- source = https://github.com/devkitPro/buildscripts/releases/download/sources/newlib-3.0.0.tar.gz
- source = https://github.com/devkitPro/buildscripts/releases/download/sources/gdb-8.0.tar.xz
+ source = buildscripts-20190701.tar.gz::https://github.com/devkitPro/buildscripts/archive/v20190701.tar.gz
+ source = https://github.com/devkitPro/buildscripts/releases/download/sources/binutils-2.32.tar.xz
+ source = https://github.com/devkitPro/buildscripts/releases/download/sources/gcc-8.3.0.tar.xz
+ source = https://github.com/devkitPro/buildscripts/releases/download/sources/newlib-3.1.0.tar.gz
+ source = https://github.com/devkitPro/buildscripts/releases/download/sources/gdb-8.2.1.tar.xz
source = devkita64.sh
source = devkita64.fish
- sha256sums = c7c11bacfdbcc634d2d70ac17785a0701d5eaaa6753762ca57a918c3841119ac
- sha256sums = efeade848067e9a03f1918b1da0d37aaffa0b0127a06b5e9236229851d9d0c09
- sha256sums = 1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153
- sha256sums = c8566335ee74e5fcaeb8595b4ebd0400c4b043d6acb3263ecb1314f8f5501332
- sha256sums = f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee
+ sha256sums = 3dbe4ee7ef819cb5ee0dd87632eea69cfe355d0f5723ce58343775a5ab6684d5
+ sha256sums = 0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04
+ sha256sums = 64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c
+ sha256sums = fb4fa1cc21e9060719208300a61420e4089d6de6ef59cf533b57fe74801d102a
+ sha256sums = baaabb28026ba47e3fd56f0138e020c9b3d51e11800a3b220d736fae8e677112
sha256sums = c71d64c68947c25bf48a5141589f107f5d6269e38e37c4bf528f614ff37b8981
sha256sums = a068e1d2fbbd07f4f520824d256696244bcf85da7bf2142a1a0fe1bd550490e8
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