From e92b03dec6673b77354c8c78d7eb5bd0b17ae8ce Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 28 Jan 2016 09:52:37 -0500 Subject: Removing qtox-git. Use qtox instead --- pcr/qtox-git/PKGBUILD | 58 ------------------------------------------- pcr/qtox-git/qtox-git.install | 12 --------- 2 files changed, 70 deletions(-) delete mode 100644 pcr/qtox-git/PKGBUILD delete mode 100644 pcr/qtox-git/qtox-git.install diff --git a/pcr/qtox-git/PKGBUILD b/pcr/qtox-git/PKGBUILD deleted file mode 100644 index 9df6d8221..000000000 --- a/pcr/qtox-git/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Maintainer (Arch): HÃ¥vard Pettersson -# Contributor (Arch): Kevin MacMartin -# Maintainer: Omar Vega Ramos - -_pkgname=qtox -pkgname=qtox-git -pkgver=1.2.r96.g698144c -pkgrel=1 -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-git' - 'libxkbcommon-x11' - 'libxss' - 'openal' - 'opencv' - 'qrencode' - 'qt5-svg' - 'sqlcipher' - 'toxcore') -makedepends=('git' 'qt5-tools') -provides=("$_pkgname") -conflicts=("$_pkgname") -install=$pkgname.install -source=("$_pkgname::git+https://github.com/tux3/qTox.git") -sha512sums=('SKIP') - -pkgver() { - cd $_pkgname - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} - -build() { - cd $_pkgname - install -d build - cd build - qmake-qt5 ENABLE_SYSTRAY_UNITY_BACKEND=NO .. - make -} - -package() { - # executable - cd $_pkgname - 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" -} diff --git a/pcr/qtox-git/qtox-git.install b/pcr/qtox-git/qtox-git.install deleted file mode 100644 index fd791829a..000000000 --- a/pcr/qtox-git/qtox-git.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_upgrade -} -- cgit v1.2.3-54-g00ecf