summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtyom Melnikov2019-10-20 17:10:21 +0300
committerArtyom Melnikov2019-10-20 17:11:21 +0300
commitb7ff092012c23e32a05ba5edcefa5eca901b6904 (patch)
treeb69b620041265e97ba8e66bca5f6fdb9789a1c21
parentd4aa945bb2d124d95618e433cd9d7e44d09983a4 (diff)
downloadaur-b7ff092012c23e32a05ba5edcefa5eca901b6904.tar.gz
Update to 3.3 LTS, renamed installation directory.
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
-rw-r--r--esp-idf.install7
3 files changed, 16 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b77b7c6dbe2..b4fd6287668 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = esp-idf
pkgdesc = Espressif IoT Development Framework. Official development framework for ESP32.
- pkgver = 3.2.2
+ pkgver = 3.3
pkgrel = 1
url = https://github.com/espressif/esp-idf
+ install = esp-idf.install
arch = i686
arch = x86_64
arch = aarch
@@ -16,8 +17,8 @@ pkgbase = esp-idf
depends = python-cryptography
depends = python-pyparsing
depends = python-pyelftools
- source = https://github.com/espressif/esp-idf/releases/download/v3.2.2/esp-idf-v3.2.2.zip
- sha256sums = b4be7b9f3827868267299467ee86873b2bfdff19b5bb0cc27cf772a0708846bc
+ source = https://github.com/espressif/esp-idf/releases/download/v3.3/esp-idf-v3.3.zip
+ sha256sums = 9d8dda75f6fb4695ddeaca92d47e640f49ea3df06ad0696961978d49416b1632
pkgname = esp-idf
diff --git a/PKGBUILD b/PKGBUILD
index 366e31822a6..30c8f18e4a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,15 @@
# Maintainer: Artyom Melnikov <a@arti-nt.ru>
pkgname=esp-idf
-pkgver=3.2.2
+pkgver=3.3
pkgrel=1
pkgdesc="Espressif IoT Development Framework. Official development framework for ESP32."
arch=('i686' 'x86_64' 'aarch' 'aarch64' 'armv7h')
url="https://github.com/espressif/esp-idf"
license=('APACHE')
depends=('python' 'python-click' 'python-pyserial' 'python-future' 'python-cryptography' 'python-pyparsing' 'python-pyelftools')
+install='esp-idf.install'
source=(https://github.com/espressif/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}.zip)
-sha256sums=('b4be7b9f3827868267299467ee86873b2bfdff19b5bb0cc27cf772a0708846bc')
+sha256sums=('9d8dda75f6fb4695ddeaca92d47e640f49ea3df06ad0696961978d49416b1632')
build() {
cd "$srcdir/${pkgname}-v${pkgver}"
@@ -16,8 +17,8 @@ build() {
}
package() {
- mkdir -p ${pkgdir}/opt/esp-idf-sdk
+ mkdir -p ${pkgdir}/opt/esp-idf
cd "${srcdir}/${pkgname}-v${pkgver}"
msg "Installing to /opt/esp-idf"
- cp -R . ${pkgdir}/opt/esp-idf-sdk
+ cp -R . ${pkgdir}/opt/esp-idf
}
diff --git a/esp-idf.install b/esp-idf.install
new file mode 100644
index 00000000000..ee5e96be4d8
--- /dev/null
+++ b/esp-idf.install
@@ -0,0 +1,7 @@
+post_install() {
+ cat <<HERE
+Set ESPIDF variable to /opt/esp-idf in your profile
+e. g. like this:
+ echo 'export ESPIDF=/opt/esp-idf' >>~/.profile
+HERE
+}