summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Colin2018-05-30 12:54:42 -0400
committerAlexei Colin2018-05-30 12:54:42 -0400
commitdb12f7e64b1aa56fb353ccff45910dd8e04237aa (patch)
tree1c356dca90c47b0ca3c1dc6c256da8b42d4bbfcd
parentebad69b4505fd63bf913101f8e22e9c7cb2a35fc (diff)
downloadaur-db12f7e64b1aa56fb353ccff45910dd8e04237aa.tar.gz
URLs: point to mirrors of installer files on IPFS
The upstream source requires download key which breaks automated building of this package.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD25
2 files changed, 24 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03cc4620e632..72da339a49b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Mar 1 13:12:36 UTC 2018
+# Wed May 30 16:54:07 UTC 2018
pkgbase = ti-ble-sdk
pkgdesc = Texas Instruments BLE Stack for CC2640/CC2650/CC1350
pkgver = 2.02.01.18
@@ -19,8 +19,8 @@ pkgbase = ti-ble-sdk
options = emptydirs
options = !purge
options = !zipman
- source = http://software-dl.ti.com/download/lprf/KS6V9FEICJSWPWYWAYHF6X6UQ542PAFS/ble_sdk_2_02_01_18_setup.exe
- source = http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/2_20_01_08/exports/tirtos_cc13xx_cc26xx_setuplinux_2_20_01_08.bin
+ source = http://arch.alexeicolin.com:8080/ipfs/QmRqD824vXr3eEDKEUdRzefZ7UGZXrNjw2VmsSyhgRLiJm/ble_sdk_2_02_01_18_setup.exe
+ source = http://arch.alexeicolin.com:8080/ipfs/QmYfnTW3p4Pk2EybdUaKaemG2a9xQ5keCGbDSQhM4PzFM2/tirtos_cc13xx_cc26xx_setuplinux_2_20_01_08.bin
source = fix-paths-for-linux.patch.xz
source = fix-example-projects-import.patch
md5sums = 42e5194c59d0a6f097998d4e722cdf30
diff --git a/PKGBUILD b/PKGBUILD
index 8e00a4d85c10..a02282a24edd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,17 +20,34 @@ optdepends=('ccstudio' 'ti-cgt-arm')
_bundle=ble_sdk_2_02_01_18
_installer=${_bundle}_setup.exe
-# to get the download key, follow the link above and click through
-_key=KS6V9FEICJSWPWYWAYHF6X6UQ542PAFS
+# Installer mirrored on IPFS
+_ble_sdk_ipfs_hash=QmRqD824vXr3eEDKEUdRzefZ7UGZXrNjw2VmsSyhgRLiJm
+
+# Alternatively, to download from TI, you need a download key, which
+# you can get by following the upstram link above and clicking through
+# _key=KS6V9FEICJSWPWYWAYHF6X6UQ542PAFS
# This particular version of TI-RTOS is installed by this PKGBUILD
# because the path patch applies to both of them.
_tirtos_installer=tirtos_cc13xx_cc26xx_setuplinux_2_20_01_08.bin
+_tirtos_ipfs_hash=QmYfnTW3p4Pk2EybdUaKaemG2a9xQ5keCGbDSQhM4PzFM2
+
# NOTE: patch is compressed because of AUR's 250KB limit
-source=("http://software-dl.ti.com/download/lprf/${_key}/${_installer}"
- "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/2_20_01_08/exports/${_tirtos_installer}"
+source=(# Requires you to open webpage in browser to get download key
+ #"http://software-dl.ti.com/download/lprf/${_key}/${_installer}"
+ # Alternative source for same file that does not require key and does not 404 after updates
+ #"https://gateway.ipfs.io/ipfs/${_ble_sdk_ipfs_hash}/${_installer}"
+ # Alternative source via a different IPFS gateway
+ "http://arch.alexeicolin.com:8080/ipfs/${_ble_sdk_ipfs_hash}/${_installer}"
+
+ #"http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/2_20_01_08/exports/${_tirtos_installer}"
+ # Alternative source for same file
+ #"https://gateway.ipfs.io/ipfs/${_tirtos_ipfs_hash}/${_tirtos_installer}"
+ # Alternative source via a different IPFS gateway
+ "http://arch.alexeicolin.com:8080/ipfs/${_tirtos_ipfs_hash}/${_tirtos_installer}"
+
"fix-paths-for-linux.patch.xz"
"fix-example-projects-import.patch")