[arch-commits] Commit in toxic/repos (2 files)

Jiachen Yang farseerfc at archlinux.org
Tue Mar 6 08:40:44 UTC 2018


    Date: Tuesday, March 6, 2018 @ 08:40:43
  Author: farseerfc
Revision: 303063

archrelease: copy trunk to community-staging-x86_64

Added:
  toxic/repos/community-staging-x86_64/
  toxic/repos/community-staging-x86_64/PKGBUILD
    (from rev 303062, toxic/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: toxic/repos/community-staging-x86_64/PKGBUILD (from rev 303062, toxic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-03-06 08:40:43 UTC (rev 303063)
@@ -0,0 +1,39 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Vlad M. <vlad at archlinux.net>
+
+pkgname=toxic
+pkgdesc='CLI Tox client'
+license=('GPL3')
+pkgver=0.8.2
+pkgrel=1
+depends=('curl'
+         'desktop-file-utils'
+         'freealut'
+         'libnotify'
+         'qrencode'
+         'toxcore')
+arch=('x86_64')
+url='https://github.com/JFreegman/toxic'
+source=("$pkgname-$pkgver.tar.gz::https://github.com/JFreegman/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+	"$pkgname-$pkgver.tar.gz.asc::https://github.com/JFreegman/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz.asc"
+	)
+sha512sums=('258e873404315c9a1f59d67f524089afebad88d800116bd9e53c8bc35bd9dd6b66cfcd90db06181f01330ba0a302456510fac5c01fdbfde7d475aa5d6b1070aa'
+            'SKIP')
+validpgpkeys=('BABD00573A065BFA90D53D563627F3144076AE63')  # Jfreegman <jfreegman at gmail.com>
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  #patch -Np1 < ../ver0.8.0.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  # enabled X11 on konsole may cause https://github.com/JFreegman/toxic/issues/277
+  # but we can only do video and call with X11 enabled https://bugs.archlinux.org/task/52836
+  make PREFIX=/usr
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list