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

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


    Date: Tuesday, August 14, 2018 @ 17:01:13
  Author: felixonmars
Revision: 371616

upgpkg: trojan 1.5.2-1

Modified:
  trojan/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-14 17:01:01 UTC (rev 371615)
+++ PKGBUILD	2018-08-14 17:01:13 UTC (rev 371616)
@@ -3,7 +3,7 @@
 # Contributor: GreaterFire <GreaterFire at protonmail dot com>
 
 pkgname=trojan
-pkgver=1.5.1
+pkgver=1.5.2
 pkgrel=1
 pkgdesc="An unidentifiable mechanism that helps you bypass GFW"
 arch=('x86_64')
@@ -13,10 +13,11 @@
 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=('99dc33034db763772331fc983e328b08c36bea3ba27e738857cf9ccd7340ea32f5df86b6fe062a8d98260f85207c315bb4fea8af5ecaba9da64b3b6bc87e5baf')
+sha512sums=('4048b987a6126ef9e7ba8562bd713a7beafda0171a53a7e8e94750a6461a1493694a00c726c3059b2bdd7a80efb53074315130f8067fbfdf73e1778c3e10e0bf')
 
 build() {
   cd $pkgname-$pkgver
@@ -24,6 +25,11 @@
   make
 }
 
+check() {
+    cd $pkgname-$pkgver
+    ctest
+}
+
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install



More information about the arch-commits mailing list