Date: Sunday, February 4, 2018 @ 12:17:33 Author: foutrelis Revision: 288983
archrelease: copy trunk to community-staging-x86_64 Added: utox/repos/community-staging-x86_64/ utox/repos/community-staging-x86_64/PKGBUILD (from rev 288982, utox/trunk/PKGBUILD) ----------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) Copied: utox/repos/community-staging-x86_64/PKGBUILD (from rev 288982, utox/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-02-04 12:17:33 UTC (rev 288983) @@ -0,0 +1,45 @@ +# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de> +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 +# Contributor: Grayhatter +# Contributor: Vlad M. <v...@archlinux.net> +# Contributor: Håvard Pettersson <m...@haavard.me> +# Contributor: Madotsuki <madotsuki at cock dot li> + +pkgname=utox +_pkgname=uTox +pkgver=0.16.1 +pkgrel=3 +_signature="" +pkgdesc='Lightweight Tox client' +arch=('x86_64') +url="https://github.com/uTox/uTox" +license=('GPL3') +depends=('fontconfig' + 'libfilteraudio' + 'libxext' + 'libxrender' + 'openal' + 'toxcore' + 'v4l-utils' + 'hicolor-icon-theme') +optdepends=('gtk3: GTK file picker' + 'libdbus: Notification support') +makedepends=('toxcore>=0.1.0' 'cmake' 'gtk3' 'libdbus' 'check') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/uTox/uTox/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz" + "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/${_pkgname}/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}${_signature}.tar.gz.asc" + ) +sha512sums=('60350bf28b8ac067287550ce42bfb9b10502fbe94298ea9d4f00fb257bfc76c6cd9a7ef843719732e8d3e84789a391a95f3f1be732427b99ab8af472844e62a4' + 'SKIP') +validpgpkeys=("B7008FF12C079BF6E6EA19D1601A604B7E605776" # Robin Lindén <m...@robinlinden.eu> + "4C4E8E7E23A85F2474DC2F1A0558CBEA7BE857DD") # Grayhatter + +build() { + cd "${_pkgname}-${pkgver}" + cmake . -DCMAKE_BUILD_TYPE=Release -DENABLE_ASAN=OFF -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${_pkgname}-${pkgver}" + make PREFIX="/usr" DESTDIR="${pkgdir}" install +}