mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
community/qtox to 1.17.3-1
This commit is contained in:
parent
744dd1b5d3
commit
53f19c2317
1 changed files with 15 additions and 11 deletions
|
@ -8,12 +8,12 @@
|
||||||
|
|
||||||
pkgname=qtox
|
pkgname=qtox
|
||||||
_pkgname=qTox
|
_pkgname=qTox
|
||||||
pkgver=1.17.2
|
pkgver=1.17.3
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
_gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d'
|
_gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d'
|
||||||
pkgdesc='Powerful Tox client written in C++/Qt that follows the Tox design guidelines'
|
pkgdesc='a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://github.com/tux3/qTox'
|
url='https://github.com/qTox/qTox'
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('desktop-file-utils'
|
depends=('desktop-file-utils'
|
||||||
'libxss'
|
'libxss'
|
||||||
|
@ -33,7 +33,7 @@ source=(
|
||||||
"$pkgname-$pkgver.tar.lz.asc::https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz.asc"
|
"$pkgname-$pkgver.tar.lz.asc::https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz.asc"
|
||||||
'atomic.patch'
|
'atomic.patch'
|
||||||
)
|
)
|
||||||
sha512sums=('c8587bf33edca7b5966b9b64dae824ffd579bd1469949f1f2eca7270b31af2bb760230b83540f815816c8e20a1001f0c7952e7a0d20c99937f29629bbdc2ae51'
|
sha512sums=('44886815ca8b2086b802b000c5a8d65315d49170dbec7a311335e70ff79aeb16cc0049ab320df84bc5659bf92e77aee0b846e2c4202890560155242e07776a6f'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'd2386cda78958e6a154a9612535d6f9f714aa80f07e8c33f9f8ad63b1f6f3599508ab184a67ba04254f9621b66ec6283f560722a3895ca3c2ab4ced9e3d7148d')
|
'd2386cda78958e6a154a9612535d6f9f714aa80f07e8c33f9f8ad63b1f6f3599508ab184a67ba04254f9621b66ec6283f560722a3895ca3c2ab4ced9e3d7148d')
|
||||||
|
|
||||||
|
@ -51,19 +51,16 @@ validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44' # sudden6 <sudden6@gmx
|
||||||
)
|
)
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
cd $_pkgname
|
||||||
# disable -Werror for release packaging
|
# disable -Werror for release packaging
|
||||||
sed -e 's|-Werror||' -i CMakeLists.txt
|
sed -e 's|-Werror||' -i CMakeLists.txt
|
||||||
if [[ $CARCH == "arm" || $CARCH == "armv6h" ]]; then
|
if [[ $CARCH == "arm" || $CARCH == "armv6h" ]]; then
|
||||||
patch -p0 -i atomic.patch
|
patch -p0 -i ../atomic.patch
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
|
||||||
cd build
|
|
||||||
make test
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
cd $_pkgname
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
@ -72,7 +69,14 @@ build() {
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname
|
||||||
|
cd build
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
cd $_pkgname
|
||||||
cd build
|
cd build
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue