summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Henrie2021-05-05 12:11:08 -0600
committerAlex Henrie2021-05-05 12:11:08 -0600
commitaa40254964a8a86fa4eaa5dd8953ed82a15dd9ef (patch)
tree836a0fa42a6bd81a5f43c04e4975b938dfad8acc
parent7ed2f26f0ccd67b4aae5f88200d78ead025d3282 (diff)
downloadaur-aa40254964a8a86fa4eaa5dd8953ed82a15dd9ef.tar.gz
Update to 4.2.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD22
2 files changed, 18 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 56cf1820859..aa4a6e5eb93 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = esp-idf
pkgdesc = Espressif IoT Development Framework. Official development framework for ESP32.
- pkgver = 4.0.1
+ pkgver = 4.2.1
pkgrel = 1
url = https://github.com/espressif/esp-idf
install = esp-idf.install
@@ -11,6 +11,7 @@ pkgbase = esp-idf
arch = armv7h
license = APACHE
makedepends = git
+ makedepends = unzip
depends = python
depends = python-click
depends = python-pyserial
@@ -18,8 +19,9 @@ pkgbase = esp-idf
depends = python-cryptography
depends = python-pyparsing
depends = python-pyelftools
- source = https://github.com/espressif/esp-idf/releases/download/v4.0.1/esp-idf-v4.0.1.zip
- sha512sums = f184c4cd0d682a040f89af5617d1ff60d76eaf20eb4aca3d9cd234de6538287276ee6fc724ed21e253a03ab74658601d5093e7dd088a42c129499034f80eb1b1
+ noextract = esp-idf-v4.2.1.zip
+ source = https://github.com/espressif/esp-idf/releases/download/v4.2.1/esp-idf-v4.2.1.zip
+ sha512sums = a13f9b9e0f3f99b7129c14880f77e4357969a6f888e7ca2891875b7551ae184f5e797ee6c89f49448aca5c5b02dd1217ad1ab2986ee1e3fa34c7131d1a0b64e7
pkgname = esp-idf
diff --git a/PKGBUILD b/PKGBUILD
index b1f4039c24d..f684a1a256a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,29 @@
-# Maintainer: Artyom Melnikov <a@arti-nt.ru>
+# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
pkgname=esp-idf
-pkgver=4.0.1
+pkgver=4.2.1
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')
-makedepends=('git')
+makedepends=('git' 'unzip')
install='esp-idf.install'
source=(https://github.com/espressif/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}.zip)
-sha512sums=('f184c4cd0d682a040f89af5617d1ff60d76eaf20eb4aca3d9cd234de6538287276ee6fc724ed21e253a03ab74658601d5093e7dd088a42c129499034f80eb1b1')
+noextract=(${pkgname}-v${pkgver}.zip)
+sha512sums=('a13f9b9e0f3f99b7129c14880f77e4357969a6f888e7ca2891875b7551ae184f5e797ee6c89f49448aca5c5b02dd1217ad1ab2986ee1e3fa34c7131d1a0b64e7')
+
+prepare() {
+ unzip -o ${pkgname}-v${pkgver}.zip
+}
build() {
- cd "$srcdir/${pkgname}-v${pkgver}"
+ cd "$srcdir/${pkgname}-v${pkgver}"
git submodule update --init
}
package() {
- mkdir -p ${pkgdir}/opt/esp-idf
- cd "${srcdir}/${pkgname}-v${pkgver}"
- msg "Installing to /opt/esp-idf"
- cp -R . ${pkgdir}/opt/esp-idf
+ mkdir -p ${pkgdir}/opt/esp-idf
+ cd "${srcdir}/${pkgname}-v${pkgver}"
+ cp -R . ${pkgdir}/opt/esp-idf
}