-
-
Save vith/623b094ab10d351994f3b701e2258977 to your computer and use it in GitHub Desktop.
qtox-git PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Håvard Pettersson <mail@haavard.me> | |
# Contributor: Kevin MacMartin <prurigro at gmail dot com> | |
_pkgname=qtox | |
pkgname=qtox-git | |
pkgver=1.3.0.r170.g0a2f541 | |
pkgrel=1 | |
pkgdesc='Powerful Tox client written in C++/Qt that follows the Tox design guidelines.' | |
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') | |
url='https://github.com/tux3/qTox' | |
license=('GPL3') | |
depends=('desktop-file-utils' | |
'gtk2' | |
'libxss' | |
'openal' | |
'ffmpeg' | |
'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 CONFIG+=silent .. | |
make | |
} | |
package() { | |
cd $_pkgname/build | |
make INSTALL_ROOT="$pkgdir" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment