summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonçalo Camelo Neves Pereira2018-04-01 23:49:39 +0100
committerGonçalo Camelo Neves Pereira2018-04-01 23:49:39 +0100
commit2c0cc3682670370aa577cb75e6b13919120c556c (patch)
tree3b886e5ec9ba83cb7c489e52e75c14ca423a298b
parentf487b553f1c421ac9e6efccb27df7ed6656bae74 (diff)
downloadaur-2c0cc3682670370aa577cb75e6b13919120c556c.tar.gz
Compilation not needed
-rw-r--r--PKGBUILD23
1 files changed, 5 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 78d24a81e92..0d332fa4ad6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,3 @@
-# Previous Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
# Maintainer: Gonçalo Camelo Neves Pereira <goncalo_pereira@outlook.pt>
pkgname=esp-idf
pkgver=3.0_rc1
@@ -13,24 +12,12 @@ source=(https://github.com/espressif/${pkgname}/archive/v${_pkgver}.tar.gz)
sha256sums=('SKIP')
build() {
- cd "${srcdir}/${pkgname}-${_pkgver}"
-
- msg "Starting CMake (build type = ${_buildtype})"
-
- # Create a build directory
- mkdir -p "${srcdir}/${pkgname}-${_pkgver}-build"
- cd "${srcdir}/${pkgname}-${pkgver}-build"
-
- # Run CMake in release
- cmake "${srcdir}/${pkgname}-${_pkgver}"
-
- make
+ cd $srcdir/${_pkgname}
+ git submodule update --init
}
-# Create the package
package() {
- # Install in /opt/roboptim
- cd "${srcdir}/${pkgname}-${_pkgver}-build"
-
- make install
+ mkdir -p ${pkgdir}/opt/esp-idf-sdk
+ cd "${srcdir}/${_pkgname}"
+ cp -R . ${pkgdir}/opt/esp-idf-sdk
} \ No newline at end of file