[arch-commits] Commit in utox/repos (2 files)
Jiachen Yang
farseerfc at archlinux.org
Mon May 14 06:43:10 UTC 2018
Date: Monday, May 14, 2018 @ 06:43:08
Author: farseerfc
Revision: 321748
archrelease: copy trunk to community-staging-x86_64
Added:
utox/repos/community-staging-x86_64/
utox/repos/community-staging-x86_64/PKGBUILD
(from rev 321747, utox/trunk/PKGBUILD)
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
Copied: utox/repos/community-staging-x86_64/PKGBUILD (from rev 321747, utox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-05-14 06:43:08 UTC (rev 321748)
@@ -0,0 +1,60 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Grayhatter
+# Contributor: Vlad M. <vlad at archlinux.net>
+# Contributor: Håvard Pettersson <mail at haavard.me>
+# Contributor: Madotsuki <madotsuki at cock dot li>
+
+pkgname=utox
+_pkgname=uTox
+pkgver=0.17.0
+pkgrel=2
+_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' git)
+_commit=3f90fdb5093cca66073a498f113f7eef485f22c2 # tags/v0.17.0^0
+source=("git+https://github.com/uTox/uTox#commit=$_commit"
+ "git+https://github.com/nothings/stb"
+ "git+https://github.com/compuphase/minIni"
+ "git+https://github.com/nayuki/QR-Code-generator")
+sha512sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd "${_pkgname}"
+ git config submodule.third-party/stb.url "$srcdir/stb"
+ git config submodule.third-party/minini.url "$srcdir/minIni"
+ git config submodule.third-party/qrcodegen.url "$srcdir/QR-Code-generator"
+ git submodule update --init
+}
+
+build() {
+ cd "${_pkgname}"
+ cmake . -DCMAKE_BUILD_TYPE=Release -DENABLE_ASAN=OFF -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${_pkgname}"
+ make PREFIX="/usr" DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list