summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLamelos2018-01-17 11:40:48 +0100
committerLamelos2018-01-17 11:40:48 +0100
commit9f01faf7c9b5ea33d464ac94dcc56d0b0230b1e3 (patch)
treee1f74b5768662d80929c8eaf2d42a8c11038863c
parentfdae25b2a567bebf0fd0d65a051cf6e65d8e91c9 (diff)
downloadaur-9f01faf7c9b5ea33d464ac94dcc56d0b0230b1e3.tar.gz
Updated PKGBUILD to avoid spamming terminal with 7z output
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f1568017b57..2c5149c7652 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,9 +30,10 @@ md5sums_x86_64=('ad4f2d4335006582ec774673535e3d88'
prepare() {
cd "${srcdir}"
- 7z x -y "${srcdir}/$_upkgname-$pkgver-$CARCH.AppImage" usr/share/icons
- 7z x -y "${srcdir}/$_upkgname-$pkgver-$CARCH.AppImage" $_pkgname.png
- 7z x -y "${srcdir}/$_upkgname-$pkgver-$CARCH.AppImage" $_pkgname.desktop
+ # Extract relevant files from AppImage, redirect to /dev/null to avoid spamming the terminal
+ 7z x -y "${srcdir}/$_upkgname-$pkgver-$CARCH.AppImage" usr/share/icons > /dev/null
+ 7z x -y "${srcdir}/$_upkgname-$pkgver-$CARCH.AppImage" $_pkgname.png > /dev/null
+ 7z x -y "${srcdir}/$_upkgname-$pkgver-$CARCH.AppImage" $_pkgname.desktop > /dev/null
# Patch desktop file
patch -p1 < $_pkgname-$CARCH.desktop.patch