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

Felix Yan felixonmars at archlinux.org
Fri Apr 13 09:44:54 UTC 2018


    Date: Friday, April 13, 2018 @ 09:44:53
  Author: felixonmars
Revision: 316163

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD (from rev 316162, libqtshadowsocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-04-13 09:44:53 UTC (rev 316163)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: yk <yk at archlinuxcn dot org>
+
+pkgname=libqtshadowsocks
+pkgver=2.0.2
+pkgrel=3
+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
+}



More information about the arch-commits mailing list