[arch-commits] Commit in utox/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Fri May 4 17:55:48 UTC 2018
Date: Friday, May 4, 2018 @ 17:55:48
Author: bgyorgy
Revision: 318956
upgpkg: utox 0.17.0-1
Update to latest version, use gitpkg. It depends on toxcore 0.2.
Modified:
utox/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++++++++++++++++++++++-----------
1 file changed, 26 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-04 17:46:46 UTC (rev 318955)
+++ PKGBUILD 2018-05-04 17:55:48 UTC (rev 318956)
@@ -7,8 +7,8 @@
pkgname=utox
_pkgname=uTox
-pkgver=0.16.1
-pkgrel=3
+pkgver=0.17.0
+pkgrel=1
_signature=""
pkgdesc='Lightweight Tox client'
arch=('x86_64')
@@ -24,22 +24,37 @@
'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'
+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')
-validpgpkeys=("B7008FF12C079BF6E6EA19D1601A604B7E605776" # Robin Lindén <mail at robinlinden.eu>
- "4C4E8E7E23A85F2474DC2F1A0558CBEA7BE857DD") # Grayhatter
+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}-${pkgver}"
+ cd "${_pkgname}"
cmake . -DCMAKE_BUILD_TYPE=Release -DENABLE_ASAN=OFF -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd "${_pkgname}-${pkgver}"
+ cd "${_pkgname}"
make PREFIX="/usr" DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list