Date: Tuesday, April 10, 2018 @ 16:52:47
  Author: felixonmars
Revision: 315601

archrelease: copy trunk to community-staging-x86_64

Added:
  libqtshadowsocks/repos/community-staging-x86_64/
  libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD
    (from rev 315600, libqtshadowsocks/trunk/PKGBUILD)

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

Copied: libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD (from rev 
315600, libqtshadowsocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-10 16:52:47 UTC (rev 315601)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: yk <yk at archlinuxcn dot org>
+
+pkgname=libqtshadowsocks
+pkgver=2.0.2
+pkgrel=2
+pkgdesc="A lightweight library for shadowsocks"
+arch=("x86_64")
+url="https://github.com/shadowsocks/libQtShadowsocks";
+license=("GPL")
+depends=('qt5-base' 'botan')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/libQtShadowsocks/archive/v$pkgver.tar.gz";)
+sha512sums=('7ec1a4d96d86dc419938d39e62b75e2c589304aea74e7648a8d3449731f944bcd47501a96df2473fc6e6e84b232930be92631ecdaf3b0017bfe9d16a9c82dd33')
+
+build() {
+  cd libQtShadowsocks-$pkgver
+  cmake -DUSE_BOTAN2=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
.
+  make
+}
+
+package() {
+  cd libQtShadowsocks-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to