[arch-commits] Commit in trojan/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Aug 14 17:01:41 UTC 2018


    Date: Tuesday, August 14, 2018 @ 17:01:41
  Author: felixonmars
Revision: 371617

archrelease: copy trunk to community-x86_64

Added:
  trojan/repos/community-x86_64/PKGBUILD
    (from rev 371616, trojan/trunk/PKGBUILD)
Deleted:
  trojan/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 36 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-14 17:01:13 UTC (rev 371616)
+++ PKGBUILD	2018-08-14 17:01:41 UTC (rev 371617)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: GreaterFire <GreaterFire at protonmail dot com>
-
-pkgname=trojan
-pkgver=1.5.1
-pkgrel=1
-pkgdesc="An unidentifiable mechanism that helps you bypass GFW"
-arch=('x86_64')
-url="https://github.com/trojan-gfw/trojan"
-license=('GPL3')
-depends=('boost-libs' 'openssl' 'libmariadbclient')
-optdepends=('ca-certificates: server certificate verification'
-            'mariadb: advanced user management')
-makedepends=('cmake' 'boost' 'openssl' 'libmariadbclient')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/trojan-gfw/$pkgname/archive/v$pkgver.tar.gz")
-backup=('etc/trojan.json'
-        'etc/trojan/config.json')
-sha512sums=('99dc33034db763772331fc983e328b08c36bea3ba27e738857cf9ccd7340ea32f5df86b6fe062a8d98260f85207c315bb4fea8af5ecaba9da64b3b6bc87e5baf')
-
-build() {
-  cd $pkgname-$pkgver
-  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: trojan/repos/community-x86_64/PKGBUILD (from rev 371616, trojan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-14 17:01:41 UTC (rev 371617)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: GreaterFire <GreaterFire at protonmail dot com>
+
+pkgname=trojan
+pkgver=1.5.2
+pkgrel=1
+pkgdesc="An unidentifiable mechanism that helps you bypass GFW"
+arch=('x86_64')
+url="https://github.com/trojan-gfw/trojan"
+license=('GPL3')
+depends=('boost-libs' 'openssl' 'libmariadbclient')
+optdepends=('ca-certificates: server certificate verification'
+            'mariadb: advanced user management')
+makedepends=('cmake' 'boost' 'openssl' 'libmariadbclient')
+checkdepends=('openssl' 'python' 'curl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/trojan-gfw/$pkgname/archive/v$pkgver.tar.gz")
+backup=('etc/trojan.json'
+        'etc/trojan/config.json')
+sha512sums=('4048b987a6126ef9e7ba8562bd713a7beafda0171a53a7e8e94750a6461a1493694a00c726c3059b2bdd7a80efb53074315130f8067fbfdf73e1778c3e10e0bf')
+
+build() {
+  cd $pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
+  make
+}
+
+check() {
+    cd $pkgname-$pkgver
+    ctest
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list