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

Felix Yan felixonmars at archlinux.org
Sat Apr 7 17:53:40 UTC 2018


    Date: Saturday, April 7, 2018 @ 17:53:39
  Author: felixonmars
Revision: 314885

archrelease: copy trunk to community-x86_64

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

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

Copied: trojan/repos/community-x86_64/PKGBUILD (from rev 314884, trojan/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-04-07 17:53:39 UTC (rev 314885)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: GreaterFire <GreaterFire at protonmail dot com>
+
+pkgname=trojan
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="An unidentifiable mechanism that helps you bypass GFW"
+arch=('x86_64')
+url="https://github.com/trojan-gfw/trojan"
+license=('GPL3')
+depends=('boost-libs' 'ca-certificates')
+makedepends=('cmake' 'boost')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/trojan-gfw/$pkgname/archive/v$pkgver.tar.gz")
+backup=('etc/trojan.json')
+sha512sums=('7b8c345780f037c317d8da99366af470e296792761c469417480da1a47c4966728009cd1ec5b84f5a7f752361fb856e6160f2d41b30de282f45d96b0553536f1')
+
+build() {
+  cd $pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
+  make
+}
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list