diff options
author | Alexey Stukalov | 2019-04-22 22:46:42 +0200 |
---|---|---|
committer | Alexey Stukalov | 2019-04-23 13:56:33 +0200 |
commit | 442c33aa1a5d324b13ad3ec6603494734d7f2c0f (patch) | |
tree | e8c019b80f0217ab775e0d80e0997e2b6ce4205a | |
parent | 5e020b2d92f5ca1c9933c14a0906c88afdb00edf (diff) | |
download | aur-442c33aa1a5d324b13ad3ec6603494734d7f2c0f.tar.gz |
clarify and log PKGEXT manipulations
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -46,7 +46,19 @@ pkgname=('intel-compiler-base' 'intel-advisor' 'intel-vtune-amplifier' 'intel-inspector') + PKGEXT='.pkg.tar.lzo' +msg "Overriding PKGEXT with PKGEXT='${PKGEXT}'" + +if [ "$PKGEXT" = ".pkg.tar.xz" ]; then + plain "--------------------------------------------------------------------" + warning "This PKGBUILD may need up to 20 minutes when XZ compressor is used!" + warning " - The packaging of intel-mkl and intel-ipp is particularly slow" + warning " - Change PKGEXT in PKGBUILD to use a faster compressor," + warning " e.g. .pkg.tar.lzo" + plain "--------------------------------------------------------------------" +fi + ######################################## #OPTIONS begin @@ -261,15 +273,6 @@ build() { echo -e "-----------------------------------------------------------------------------------" plain "" - if [ "$PKGEXT" = ".pkg.tar.xz" ]; then - plain "-------------------------------------------------------------------------------" - warning " This PKGBUILD may need up to 20 minutes if you use XZ as a compressor!" - warning " - The build of the packages: intel-mkl and intel-ipp is particularly slow" - warning " - Change PKGEXT in the PKGBUILD to use a faster compressor." - plain "-------------------------------------------------------------------------------" - plain "" - fi - plain "-------------------------------------------------------------------------------" warning "This PKGBUILD works with yaourt, but consumes a lot of RAM!" warning "Using the makepkg command for building this package is recommended." |