[arch-commits] Commit in qtox/repos (6 files)

Jiachen Yang farseerfc at archlinux.org
Tue Feb 16 07:53:12 UTC 2016


    Date: Tuesday, February 16, 2016 @ 08:53:12
  Author: farseerfc
Revision: 161816

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 161815, qtox/trunk/PKGBUILD)
  qtox/repos/community-staging-i686/qtox.install
    (from rev 161815, qtox/trunk/qtox.install)
  qtox/repos/community-staging-x86_64/
  qtox/repos/community-staging-x86_64/PKGBUILD
    (from rev 161815, qtox/trunk/PKGBUILD)
  qtox/repos/community-staging-x86_64/qtox.install
    (from rev 161815, qtox/trunk/qtox.install)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   52 ++++++++++++++++++++++++++++++++
 community-staging-i686/qtox.install   |   12 +++++++
 community-staging-x86_64/PKGBUILD     |   52 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/qtox.install |   12 +++++++
 4 files changed, 128 insertions(+)

Copied: qtox/repos/community-staging-i686/PKGBUILD (from rev 161815, qtox/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-02-16 07:53:12 UTC (rev 161816)
@@ -0,0 +1,52 @@
+# 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.2.4
+pkgrel=3
+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'
+         'libfilteraudio'
+         'libxkbcommon-x11'
+         'libxss'
+         'openal'
+         'opencv'
+         'qrencode'
+         'qt5-svg'
+         'sqlcipher'
+         'toxcore')
+makedepends=('qt5-tools')
+install=$pkgname.install
+source=("https://github.com/tux3/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('4e3e68e6dadbe411196cfa3648deacd8197f2d7024a51193805aaca36e11a740d879b68b4319efa0f5168e9f13c949ef6a3f39c18584a764df9e825e3ac8ed72')
+
+build() {
+  cd $_pkgname-$pkgver
+  install -d build
+  cd build
+  qmake-qt5 ENABLE_SYSTRAY_UNITY_BACKEND=NO ..
+  make
+}
+
+package() {
+  # executable
+  cd $_pkgname-$pkgver
+  install -Dm755 build/$pkgname "$pkgdir/usr/bin/$pkgname"
+
+  # xdg desktop file
+  install -Dm644 qTox.desktop "$pkgdir/usr/share/applications/qTox.desktop"
+
+  # icons
+  cd img/icons
+  for _icon in *.png; do
+    _size=$(sed 's|^[^-]*-||;s|\.png||' <<< "$_icon")
+    install -Dm644 "$_icon" "$pkgdir/usr/share/icons/hicolor/$_size/apps/qTox.png"
+  done
+  install -Dm644 $pkgname.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/qTox.svg"
+}

Copied: qtox/repos/community-staging-i686/qtox.install (from rev 161815, qtox/trunk/qtox.install)
===================================================================
--- community-staging-i686/qtox.install	                        (rev 0)
+++ community-staging-i686/qtox.install	2016-02-16 07:53:12 UTC (rev 161816)
@@ -0,0 +1,12 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_upgrade
+}

Copied: qtox/repos/community-staging-x86_64/PKGBUILD (from rev 161815, qtox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-02-16 07:53:12 UTC (rev 161816)
@@ -0,0 +1,52 @@
+# 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.2.4
+pkgrel=3
+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'
+         'libfilteraudio'
+         'libxkbcommon-x11'
+         'libxss'
+         'openal'
+         'opencv'
+         'qrencode'
+         'qt5-svg'
+         'sqlcipher'
+         'toxcore')
+makedepends=('qt5-tools')
+install=$pkgname.install
+source=("https://github.com/tux3/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('4e3e68e6dadbe411196cfa3648deacd8197f2d7024a51193805aaca36e11a740d879b68b4319efa0f5168e9f13c949ef6a3f39c18584a764df9e825e3ac8ed72')
+
+build() {
+  cd $_pkgname-$pkgver
+  install -d build
+  cd build
+  qmake-qt5 ENABLE_SYSTRAY_UNITY_BACKEND=NO ..
+  make
+}
+
+package() {
+  # executable
+  cd $_pkgname-$pkgver
+  install -Dm755 build/$pkgname "$pkgdir/usr/bin/$pkgname"
+
+  # xdg desktop file
+  install -Dm644 qTox.desktop "$pkgdir/usr/share/applications/qTox.desktop"
+
+  # icons
+  cd img/icons
+  for _icon in *.png; do
+    _size=$(sed 's|^[^-]*-||;s|\.png||' <<< "$_icon")
+    install -Dm644 "$_icon" "$pkgdir/usr/share/icons/hicolor/$_size/apps/qTox.png"
+  done
+  install -Dm644 $pkgname.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/qTox.svg"
+}

Copied: qtox/repos/community-staging-x86_64/qtox.install (from rev 161815, qtox/trunk/qtox.install)
===================================================================
--- community-staging-x86_64/qtox.install	                        (rev 0)
+++ community-staging-x86_64/qtox.install	2016-02-16 07:53:12 UTC (rev 161816)
@@ -0,0 +1,12 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_upgrade
+}



More information about the arch-commits mailing list