diff options
author | NBonaparte | 2017-11-23 20:18:13 -0800 |
---|---|---|
committer | NBonaparte | 2017-11-23 20:18:13 -0800 |
commit | 974d11607107983bb976aadce703b52847e3fa53 (patch) | |
tree | 2db50cfcdb0ea5c397ad23ce95733b49febe3b67 | |
download | aur-974d11607107983bb976aadce703b52847e3fa53.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | LICENSE | 74 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 133 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..46bdbf43c4d9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = stm32cubeh7 + pkgdesc = Embedded software for STM32 H7 series + pkgver = 1.1.0 + pkgrel = 1 + url = http://www.st.com/en/embedded-software/stm32cubeh7.html + arch = any + license = custom:Mix Ultimate Liberty+OSS+3rd-party V1 + makedepends = unzip + depends = bash + depends = perl + optdepends = arm-none-eabi-gcc: ARM compiler + optdepends = arm-none-eabi-gdb: ARM GDB + optdepends = arm-none-eabi-newlib: ARM bare metal files + optdepends = arm-none-eabi-binutils: ARM binutils + optdepends = openocd: STM32H7 firmware flashing + options = !strip + source = stm32cubeh7.zip::http://www.st.com/content/ccc/resource/technical/software/firmware/group0/fd/9a/b6/df/a7/3d/41/0d/stm32cubeh7.zip/files/stm32cubeh7.zip/_jcr_content/translations/en.stm32cubeh7.zip + source = LICENSE + sha512sums = 5aa8eb04e819e35e3242b69f86488bba14c69bbeddf9b35cb99397c9659d23d46991c2a12f7779036e2bc730ce14017f1f8c1fbc09c0ff41ac13018058e0e2fb + sha512sums = 8c1a849105e35b5cf1b14a411e6ab5db171a8c284abaf6d673c24963069617115cecfe0cb4fb7a04a2fb5b4e0e20b061de512c10c4d5c106e39506e04edb61e3 + +pkgname = stm32cubeh7 + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..0c090fafb4e5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,74 @@ +SLA0048 20.10.2017 + +SOFTWARE PACKAGE LICENSE AGREEMENT +Please indicate your acceptance or NON-acceptance by selecting “I ACCEPT” or “I DO NOT ACCEPT” +as indicated below in the media. +BY INSTALLING COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS +SOFTWARE PACKAGE OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM +STMICROELECTRONICS INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED +COMPANIES (STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR +HERSELF, OR ON BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR +ENGAGED AGREES TO BE BOUND BY THIS SOFTWARE PACKAGE LICENSE AGREEMENT. +Under STMicroelectronics’ intellectual property rights and subject to applicable licensing terms for any +third-party software incorporated in this software package and applicable Open Source Terms (as +defined here below), the redistribution, reproduction and use in source and binary forms of the software +package or any part thereof, with or without modification, are permitted provided that the following +conditions are met: +1. Redistribution of source code (modified or not) must retain any copyright notice, this list of +conditions and the following disclaimer. +2. Redistributions in binary form, except as embedded into microcontroller or microprocessor device +manufactured by or for STMicroelectronics or a software update for such device, must reproduce +the above copyright notice, this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. +3. Neither the name of STMicroelectronics nor the names of other contributors to this software +package may be used to endorse or promote products derived from this software package or part +thereof without specific written permission. +4. This software package or any part thereof, including modifications and/or derivative works of this +software package, must be used and execute solely and exclusively on or in combination with a +microcontroller or a microprocessor devices manufactured by or for STMicroelectronics. +5. No use, reproduction or redistribution of this software package partially or totally may be done in +any manner that would subject this software package to any Open Source Terms (as defined +below). +6. Some portion of the software package may contain software subject to Open Source Terms (as +defined below) applicable for each such portion (“Open Source Software”), as further specified in +the software package. Such Open Source Software is supplied under the applicable Open Source +Terms and is not subject to the terms and conditions of license hereunder. “Open Source Terms” +shall mean any open source license which requires as part of distribution of software that the +source code of such software is distributed therewith or otherwise made available, or open source +license that substantially complies with the Open Source definition specified at +www.opensource.org and any other comparable open source license such as for example GNU +General Public License (GPL), Eclipse Public License (EPL), Apache Software License, BSD +license and MIT license. +7. This software package may also include third party software as expressly specified in the software +package subject to specific license terms from such third parties. Such third party software is +supplied under such specific license terms and is not subject to the terms and conditions of license +hereunder. By installing copying, downloading, accessing or otherwise using this software +package, the recipient agrees to be bound by such license terms with regard to such third party +software. +8. STMicroelectronics has no obligation to provide any maintenance, support or updates for the +software package. +9. The software package is and will remain the exclusive property of STMicroelectronics and its +licensors. The recipient will not take any action that jeopardizes STMicroelectronics and its +licensors' proprietary rights or acquire any rights in the software package, except the limited rights +specified hereunder. +10. The recipient shall comply with all applicable laws and regulations affecting the use of the software +package or any part thereof including any applicable export control law or regulation. +11. Redistribution and use of this software package partially or any part thereof other than as permitted +under this license is void and will automatically terminate your rights under this license. +THIS SOFTWARE PACKAGE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS +ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL +STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE PACKAGE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +EXCEPT AS EXPRESSLY PERMITTED HEREUNDER AND SUBJECT TO THE APPLICABLE +LICENSING TERMS FOR ANY THIRD-PARTY SOFTWARE INCORPORATED IN THE SOFTWARE +PACKAGE AND OPEN SOURCE TERMS AS APPLICABLE, NO LICENSE OR OTHER RIGHTS, +WHETHER EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER +INTELLECTUAL PROPERTY RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cef4918d8222 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: NBonaparte <nbonaparte@protonmail.com> + +pkgname=stm32cubeh7 +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Embedded software for STM32 H7 series" +arch=('any') +url="http://www.st.com/en/embedded-software/stm32cubeh7.html" +license=('custom:Mix Ultimate Liberty+OSS+3rd-party V1') +groups=() +depends=('bash' + 'perl') +makedepends=('libarchive') +optdepends=('arm-none-eabi-gcc: ARM compiler' + 'arm-none-eabi-gdb: ARM GDB' + 'arm-none-eabi-newlib: ARM bare metal files' + 'arm-none-eabi-binutils: ARM binutils' + 'openocd: STM32H7 firmware flashing') +provides=() +conflicts=() +replaces=() +backup=() +options=('!strip') +install= +changelog= +# Newest source can always be downloaded at http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/firmware/stm32cubeh7.zip +source=('stm32cubeh7.zip::http://www.st.com/content/ccc/resource/technical/software/firmware/group0/fd/9a/b6/df/a7/3d/41/0d/stm32cubeh7.zip/files/stm32cubeh7.zip/_jcr_content/translations/en.stm32cubeh7.zip' + 'LICENSE') +noextract=() +sha512sums=('5aa8eb04e819e35e3242b69f86488bba14c69bbeddf9b35cb99397c9659d23d46991c2a12f7779036e2bc730ce14017f1f8c1fbc09c0ff41ac13018058e0e2fb' + '8c1a849105e35b5cf1b14a411e6ab5db171a8c284abaf6d673c24963069617115cecfe0cb4fb7a04a2fb5b4e0e20b061de512c10c4d5c106e39506e04edb61e3') +package() { + install -d "$pkgdir"/opt/"$pkgname" + mv STM32Cube_FW_H7_V$pkgver/* "$pkgdir"/opt/"$pkgname"/ + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |