[arch-commits] Commit in telegram-desktop/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Mar 17 15:54:58 UTC 2020


    Date: Tuesday, March 17, 2020 @ 15:54:58
  Author: svenstaro
Revision: 600308

upgpkg: telegram-desktop 1.9.21-2: Integrate most suggestions from FS#65259

Modified:
  telegram-desktop/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-17 15:53:10 UTC (rev 600307)
+++ PKGBUILD	2020-03-17 15:54:58 UTC (rev 600308)
@@ -6,7 +6,7 @@
 
 pkgname=telegram-desktop
 pkgver=1.9.21
-pkgrel=1
+pkgrel=2
 pkgdesc='Official Telegram Desktop client'
 arch=('x86_64')
 url="https://desktop.telegram.org/"
@@ -21,17 +21,13 @@
 build() {
     cd tdesktop-$pkgver-full
 
-    export CXXFLAGS="$CXXFLAGS -ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
+    # export CXXFLAGS="$CXXFLAGS -ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
     cmake -B build -G Ninja . \
-        -Ddisable_autoupdate=1 \
-        -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+        -DCMAKE_INSTALL_PREFIX="/usr" \
         -DCMAKE_BUILD_TYPE=Release \
         -DTDESKTOP_API_TEST=ON \
-        -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
-        -DDESKTOP_APP_USE_PACKAGED=ON \
         -DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
         -DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
-        -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
         -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
         -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
         -DDESKTOP_APP_SPECIAL_TARGET="" \
@@ -41,5 +37,5 @@
 
 package() {
     cd tdesktop-$pkgver-full
-    ninja -C build install
+    DESTDIR=$pkgdir ninja -C build install
 }



More information about the arch-commits mailing list