diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-28 09:52:37 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-28 09:52:37 -0500 |
commit | e92b03dec6673b77354c8c78d7eb5bd0b17ae8ce (patch) | |
tree | 0127477ffef72b1bfa9921e9917709b4bed5bad1 | |
parent | 300a07797e53b1e9a9f61625c47796297b6a3453 (diff) |
Removing qtox-git. Use qtox instead
-rw-r--r-- | pcr/qtox-git/PKGBUILD | 58 | ||||
-rw-r--r-- | pcr/qtox-git/qtox-git.install | 12 |
2 files changed, 0 insertions, 70 deletions
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 <mail@haavard.me> -# Contributor (Arch): Kevin MacMartin <prurigro at gmail dot com> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -_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 -} |