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

Jiachen Yang farseerfc at archlinux.org
Wed Nov 25 00:35:37 UTC 2020


    Date: Wednesday, November 25, 2020 @ 00:35:37
  Author: farseerfc
Revision: 761024

upgpkg: qtox 1.17.3-1: qtox 1.17.3

Modified:
  qtox/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-24 23:44:04 UTC (rev 761023)
+++ PKGBUILD	2020-11-25 00:35:37 UTC (rev 761024)
@@ -5,8 +5,8 @@
 
 pkgname=qtox
 _pkgname=qTox
-pkgver=1.17.2
-pkgrel=2
+pkgver=1.17.3
+pkgrel=1
 _gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d'
 pkgdesc='a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol'
 arch=('x86_64')
@@ -29,7 +29,7 @@
         "$pkgname-$pkgver.tar.lz::https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz"
         "$pkgname-$pkgver.tar.lz.asc::https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz.asc"
         )
-sha512sums=('c8587bf33edca7b5966b9b64dae824ffd579bd1469949f1f2eca7270b31af2bb760230b83540f815816c8e20a1001f0c7952e7a0d20c99937f29629bbdc2ae51'
+sha512sums=('44886815ca8b2086b802b000c5a8d65315d49170dbec7a311335e70ff79aeb16cc0049ab320df84bc5659bf92e77aee0b846e2c4202890560155242e07776a6f'
             'SKIP')
 
 ## GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md
@@ -46,16 +46,13 @@
              )
 
 prepare() {
+  cd $_pkgname
   # disable -Werror for release packaging
   sed -e 's|-Werror||' -i CMakeLists.txt
 }
 
-check() {
-  cd build
-  make test
-}
-
 build() {
+  cd $_pkgname
   mkdir -p build
   cd build
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
@@ -64,7 +61,14 @@
   make
 }
 
+check() {
+  cd $_pkgname
+  cd build
+  make test
+}
+
 package() {
+  cd $_pkgname
   cd build
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list