[arch-commits] Commit in qtox/repos (4 files)
Jiachen Yang
farseerfc at archlinux.org
Sun Sep 24 14:26:51 UTC 2017
Date: Sunday, September 24, 2017 @ 14:26:50
Author: farseerfc
Revision: 260438
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
qtox/repos/community-staging-i686/
qtox/repos/community-staging-i686/PKGBUILD
(from rev 260437, qtox/trunk/PKGBUILD)
qtox/repos/community-staging-x86_64/
qtox/repos/community-staging-x86_64/PKGBUILD
(from rev 260437, qtox/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 69 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 69 ++++++++++++++++++++++++++++++++++++
2 files changed, 138 insertions(+)
Copied: qtox/repos/community-staging-i686/PKGBUILD (from rev 260437, qtox/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-09-24 14:26:50 UTC (rev 260438)
@@ -0,0 +1,69 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Vlad M. <vlad at archlinux.net>
+# Contributor: Håvard Pettersson <mail at haavard.me>
+# Contributor: Kevin MacMartin <prurigro at gmail dot com>
+
+pkgname=qtox
+_pkgname=qTox
+pkgver=1.11.0
+pkgrel=3
+_gitver='b73603b45a32e63a649294537a62a9f11176c73d'
+pkgdesc='Powerful Tox client written in C++/Qt that follows the Tox design guidelines'
+arch=('i686' 'x86_64')
+url='https://github.com/tux3/qTox'
+license=('GPL3')
+depends=('desktop-file-utils'
+ 'libxss'
+ 'openal'
+ 'gtk2'
+ 'ffmpeg'
+ 'qrencode'
+ 'qt5-svg'
+ 'sqlcipher'
+ 'toxcore')
+makedepends=('qt5-tools' 'git' 'check' 'cmake')
+
+#source=("git+https://github.com/qTox/qTox.git#commit=$_gitver")
+source=( #"https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.gz"
+ #"$_pkgname-v$pkgver.tar.gz::https://github.com/$_pkgname/$_pkgname/archive/v$pkgver/v$pkgver.tar.gz"
+ "https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz"
+ "https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz.asc"
+ #"gcc7fix.patch::https://github.com/qTox/qTox/commit/246e23abf3aa64c494c6abf42c83944eb78f1b16.patch"
+ )
+sha512sums=('3117b5ec9d88f58023f6c2f5e7c37c547ab920588d385e3abe062fb22ad79c49a9b6eb9ca31c6d56f9d03cfea55ef56ddc7e2e53bd43629825ea7b460b31f505'
+ 'SKIP')
+ #'61d267b721e133573a6fa54d3119c4a9a5f49c0d11db11415dc2b5877ddc841796e6ca23490ebdab0b324fb09a0b69db1aa59997b79b4db0354fc76395db3b36')
+
+## GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md
+validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44' # sudden6 <sudden6 at gmx.at>
+ 'BA7883E22F9D35945BA3376053137C3033F09008' # Zetok Zalbavar <zetok at openmailbox.org>
+ '1157616BBD860C539926F8139591A163FF9BE04C' # - antis81
+ '31039166FA902CA50D05D6085AF9F2E29107C727' # - Diadlo
+ 'C7A2552D0B250F983827742C133203A3AC399151' # - initramfs
+ '2880C860D95C909D3DA45C687E086DD661263264' # - tux3
+ )
+#prepare() {
+# patch -p1 <gcc7fix.patch
+#}
+
+check() {
+ cd build
+ make test
+}
+
+build() {
+ #cd "$srcdir/$_pkgname-$pkgver"
+ mkdir -p build
+ cd build
+ ##qmake-qt5 ENABLE_SYSTRAY_UNITY_BACKEND=NO GIT_VERSION=$_gitver GIT_DESCRIBE=v$pkgver ..
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DGIT_VERSION=$_gitver \
+ -DGIT_DESCRIBE=v$pkgver
+ make
+}
+
+package() {
+ #cd "$_pkgname-$pkgver"
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: qtox/repos/community-staging-x86_64/PKGBUILD (from rev 260437, qtox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-09-24 14:26:50 UTC (rev 260438)
@@ -0,0 +1,69 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Vlad M. <vlad at archlinux.net>
+# Contributor: Håvard Pettersson <mail at haavard.me>
+# Contributor: Kevin MacMartin <prurigro at gmail dot com>
+
+pkgname=qtox
+_pkgname=qTox
+pkgver=1.11.0
+pkgrel=3
+_gitver='b73603b45a32e63a649294537a62a9f11176c73d'
+pkgdesc='Powerful Tox client written in C++/Qt that follows the Tox design guidelines'
+arch=('i686' 'x86_64')
+url='https://github.com/tux3/qTox'
+license=('GPL3')
+depends=('desktop-file-utils'
+ 'libxss'
+ 'openal'
+ 'gtk2'
+ 'ffmpeg'
+ 'qrencode'
+ 'qt5-svg'
+ 'sqlcipher'
+ 'toxcore')
+makedepends=('qt5-tools' 'git' 'check' 'cmake')
+
+#source=("git+https://github.com/qTox/qTox.git#commit=$_gitver")
+source=( #"https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.gz"
+ #"$_pkgname-v$pkgver.tar.gz::https://github.com/$_pkgname/$_pkgname/archive/v$pkgver/v$pkgver.tar.gz"
+ "https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz"
+ "https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz.asc"
+ #"gcc7fix.patch::https://github.com/qTox/qTox/commit/246e23abf3aa64c494c6abf42c83944eb78f1b16.patch"
+ )
+sha512sums=('3117b5ec9d88f58023f6c2f5e7c37c547ab920588d385e3abe062fb22ad79c49a9b6eb9ca31c6d56f9d03cfea55ef56ddc7e2e53bd43629825ea7b460b31f505'
+ 'SKIP')
+ #'61d267b721e133573a6fa54d3119c4a9a5f49c0d11db11415dc2b5877ddc841796e6ca23490ebdab0b324fb09a0b69db1aa59997b79b4db0354fc76395db3b36')
+
+## GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md
+validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44' # sudden6 <sudden6 at gmx.at>
+ 'BA7883E22F9D35945BA3376053137C3033F09008' # Zetok Zalbavar <zetok at openmailbox.org>
+ '1157616BBD860C539926F8139591A163FF9BE04C' # - antis81
+ '31039166FA902CA50D05D6085AF9F2E29107C727' # - Diadlo
+ 'C7A2552D0B250F983827742C133203A3AC399151' # - initramfs
+ '2880C860D95C909D3DA45C687E086DD661263264' # - tux3
+ )
+#prepare() {
+# patch -p1 <gcc7fix.patch
+#}
+
+check() {
+ cd build
+ make test
+}
+
+build() {
+ #cd "$srcdir/$_pkgname-$pkgver"
+ mkdir -p build
+ cd build
+ ##qmake-qt5 ENABLE_SYSTRAY_UNITY_BACKEND=NO GIT_VERSION=$_gitver GIT_DESCRIBE=v$pkgver ..
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DGIT_VERSION=$_gitver \
+ -DGIT_DESCRIBE=v$pkgver
+ make
+}
+
+package() {
+ #cd "$_pkgname-$pkgver"
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list