[arch-commits] Commit in toxcore/trunk (PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Wed Dec 21 08:08:40 UTC 2016
Date: Wednesday, December 21, 2016 @ 08:08:40
Author: farseerfc
Revision: 200662
upgpkg: toxcore 1:0.1.1-1
toxcore: change to c-toxcore upstream
Modified:
toxcore/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-21 08:08:37 UTC (rev 200661)
+++ PKGBUILD 2016-12-21 08:08:40 UTC (rev 200662)
@@ -1,3 +1,4 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
# $Id$
# Maintainer: Felix Yan <felixonmars at archlinux.org>
# Contributor: Håvard Pettersson <mail at haavard.me>
@@ -6,8 +7,9 @@
# Contributor: Kevin MacMartin <prurigro at gmail dot com>
pkgname=toxcore
-pkgver=3769
-_commit=dcf2aaa53005060608353b9d66b9917fd7ed18a9
+_pkgname=c-toxcore
+epoch=1
+pkgver=0.1.1
pkgrel=1
pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
arch=('i686' 'x86_64')
@@ -14,23 +16,26 @@
url='https://tox.chat'
license=('GPL3')
depends=('systemd' 'libconfig' 'libsodium' 'libvpx' 'opus')
-makedepends=('git' 'check')
+makedepends=('check')
conflicts=("tox")
provides=("tox")
backup=('etc/tox-bootstrapd.conf')
install=$pkgname.install
-source=("git+https://github.com/irungentoo/toxcore.git#commit=$_commit"
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/TokTok/${_pkgname}/archive/v${pkgver}.tar.gz"
+ "${_pkgname}-${pkgver}.tar.gz.asc::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz.robinlinden.asc"
'toxcore.conf')
-sha512sums=('SKIP'
+sha512sums=('5bdaf047594e943f854fda0f0265167e0dccf05fedfec6b4d9b628b242de23f9dd9b870bbdcca4cb02f9742fa2472e4c7e1047370732cb2ee529467f15e81fc1'
+ 'SKIP'
'71885e69f7b84955f6bdbf27b9e8196349cdd254b02b510433851bd218374d9c47aa7d3946dcc6a5cff6c8e705bc98d8a09de27039f60b8b088784cf8fa9d719')
+validpgpkeys=("15D3B9A6B3951DF9854FCA93E786548AE0A0B56B") # RobinLindén<mail+gitlab at robinlinden.eu>
prepare() {
- cd $pkgname
+ cd $_pkgname-$pkgver
sed -i "s|/usr/local|/usr|" other/bootstrap_daemon/tox-bootstrapd.service
}
build() {
- cd $pkgname
+ cd $_pkgname-$pkgver
autoreconf -if
./configure \
--prefix=/usr \
@@ -41,12 +46,12 @@
}
check() {
- cd $pkgname
-# make check || warning "Tests failed" - onion test runs endless
+ cd $_pkgname-$pkgver
+ make check || warning "Tests failed" - onion test runs endless
}
package() {
- cd $pkgname
+ cd $_pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/toxcore.conf" "$pkgdir/usr/lib/sysusers.d/toxcore.conf"
install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.service "$pkgdir/usr/lib/systemd/system/tox-bootstrapd.service"
More information about the arch-commits
mailing list