From 25723f64fc03ebce3553dd3f4fbdd492a2bd5db9 Mon Sep 17 00:00:00 2001 From: XavierCLL Date: Tue, 21 Apr 2020 13:50:50 -0700 Subject: [PATCH] Fix quotation mark again and fix remove no x64 arch --- PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 01ac9b0..16203eb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -54,17 +54,17 @@ build() { # compile PyDev debugger used by PyCharm to speedup debugging python3 plugins/python/helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib . - rm -r bin/fsnotifier{,-arm} lib/libpty/linux/x86 + rm -r bin/fsnotifier lib/pty4j-native/linux/{x86,ppc64le} } package() { # workaround FS#40934 - sed -i "s/lcd/on/" "pycharm-$_pkgver/bin/*.vmoptions" + sed -i "s/lcd/on/" "pycharm-$_pkgver/bin/"*.vmoptions # base install -dm 755 "$pkgdir/opt/$pkgname" - cp -dr --no-preserve=ownership "pycharm-$_pkgver/*" "$pkgdir/opt/$pkgname/" - install -dm 755 "$pkgdir/usr/share/{applications,pixmaps}" + cp -dr --no-preserve=ownership "pycharm-$_pkgver/"* "$pkgdir/opt/$pkgname/" + install -dm 755 "$pkgdir/usr/share/"{applications,pixmaps} install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.png" "$pkgdir/usr/share/pixmaps/pycharm.png" install -Dm 644 pycharm-professional.desktop "$pkgdir/usr/share/applications/" @@ -77,7 +77,7 @@ package() { # licenses install -dm 755 "$pkgdir/usr/share/licenses/$pkgname/" - cp -dr --no-preserve=ownership "pycharm-$_pkgver/license/*" "$pkgdir/usr/share/licenses/$pkgname/" + cp -dr --no-preserve=ownership "pycharm-$_pkgver/license/"* "$pkgdir/usr/share/licenses/$pkgname/" # install charm application - for edit a single file in Pycharm install -Dm 755 charm "$pkgdir/usr/bin/"