[arch-commits] Commit in toxcore/trunk (PKGBUILD)

Jiachen Yang farseerfc at archlinux.org
Fri Aug 31 17:29:57 UTC 2018


    Date: Friday, August 31, 2018 @ 17:29:57
  Author: farseerfc
Revision: 375886

upgpkg: toxcore 1:0.2.7-1

toxcore 0.2.7

Modified:
  toxcore/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-31 17:29:01 UTC (rev 375885)
+++ PKGBUILD	2018-08-31 17:29:57 UTC (rev 375886)
@@ -9,7 +9,7 @@
 pkgname=toxcore
 _pkgname=c-toxcore
 epoch=1
-pkgver=0.2.6
+pkgver=0.2.7
 pkgrel=1
 pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
 arch=('x86_64')
@@ -28,7 +28,7 @@
 	#"${_pkgname}-v${pkgver}.tar.lz::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.lz"
 	#"${_pkgname}-v${pkgver}.tar.lz.asc::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.lz.asc"
         'toxcore.conf')
-sha512sums=('7f82528d4e65e77fd054435b5bd749d90d6f397e5a36c2abd618002d9589ec76e7b728f7af6ae958384efde45ed37da96ba70bd77206a20a2e87b7473a2b03bf'
+sha512sums=('bb5248f4fb84146c6c7c3dd086211314528ad95b3e71e3c05ea2e4e7c9f3c45552bc0bd8d47af127ac5f26a39b6abf79c32cd76a0e0c70496419fa5b549580cc'
             'SKIP'
             'aa1dcfbdf9b613f5d89e238ff5d01e0ea150ad3162792acb806f51ce07fd9ade1270b310b1285a828dcdf578549b95a89fd9bd198fb205c83f5a5be2c969ea63')
 validpgpkeys=(
@@ -50,28 +50,25 @@
 }
 
 build() {
-  cd $_pkgname-$pkgver
-  echo LDFLAGS $LDFLAGS
-  echo CFLAGS $CFLAGS 
+  cd $_pkgname-$pkgver/build
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_INSTALL_LIBDIR=/usr/lib \
         -DDHT_BOOTSTRAP=on \
         -DBOOTSTRAP_DAEMON=on \
         -DBUILD_TOXAV=on \
-        -DBUILD_AV_TEST=on
+        -DBUILD_AV_TEST=on ..
   make
 }
 
 check() {
-  cd $_pkgname-$pkgver
-  #make check
-  make test ## test fail on i686 
+  cd $_pkgname-$pkgver/build
+  make test 
 }
 
 package() {
-  cd $_pkgname-$pkgver
+  cd $_pkgname-$pkgver/build
   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"
-  install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$pkgdir/etc/tox-bootstrapd.conf"
+  install -Dm644 ../other/bootstrap_daemon/tox-bootstrapd.service "$pkgdir/usr/lib/systemd/system/tox-bootstrapd.service"
+  install -Dm644 ../other/bootstrap_daemon/tox-bootstrapd.conf "$pkgdir/etc/tox-bootstrapd.conf"
 }



More information about the arch-commits mailing list