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

Jiachen Yang farseerfc at archlinux.org
Mon Jan 11 12:01:10 UTC 2016


    Date: Monday, January 11, 2016 @ 13:01:09
  Author: farseerfc
Revision: 155979

archrelease: copy trunk to community-i686, community-x86_64

Added:
  qtox/repos/community-i686/
  qtox/repos/community-i686/PKGBUILD
    (from rev 155978, qtox/trunk/PKGBUILD)
  qtox/repos/community-i686/qtox.install
    (from rev 155978, qtox/trunk/qtox.install)
  qtox/repos/community-x86_64/
  qtox/repos/community-x86_64/PKGBUILD
    (from rev 155978, qtox/trunk/PKGBUILD)
  qtox/repos/community-x86_64/qtox.install
    (from rev 155978, qtox/trunk/qtox.install)

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

Copied: qtox/repos/community-i686/PKGBUILD (from rev 155978, qtox/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-01-11 12:01:09 UTC (rev 155979)
@@ -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.2
+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=('f667d8c998d1b908069782b2123a3922c8ae554ab58a686eced060a6692cb12fbb4348c91e826a3e651e86df744fb0195dbf0e9fe0979aa40b32e6d29439740b')
+
+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/$pkgname.png"
+  done
+  install -Dm644 $pkgname.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
+}

Copied: qtox/repos/community-i686/qtox.install (from rev 155978, qtox/trunk/qtox.install)
===================================================================
--- community-i686/qtox.install	                        (rev 0)
+++ community-i686/qtox.install	2016-01-11 12:01:09 UTC (rev 155979)
@@ -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-x86_64/PKGBUILD (from rev 155978, qtox/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-01-11 12:01:09 UTC (rev 155979)
@@ -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.2
+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=('f667d8c998d1b908069782b2123a3922c8ae554ab58a686eced060a6692cb12fbb4348c91e826a3e651e86df744fb0195dbf0e9fe0979aa40b32e6d29439740b')
+
+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/$pkgname.png"
+  done
+  install -Dm644 $pkgname.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
+}

Copied: qtox/repos/community-x86_64/qtox.install (from rev 155978, qtox/trunk/qtox.install)
===================================================================
--- community-x86_64/qtox.install	                        (rev 0)
+++ community-x86_64/qtox.install	2016-01-11 12:01:09 UTC (rev 155979)
@@ -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