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

Felix Yan felixonmars at archlinux.org
Sun Jan 7 07:28:28 UTC 2018


    Date: Sunday, January 7, 2018 @ 07:28:27
  Author: felixonmars
Revision: 279806

archrelease: copy trunk to community-testing-x86_64

Added:
  libqtshadowsocks/repos/community-testing-x86_64/
  libqtshadowsocks/repos/community-testing-x86_64/PKGBUILD
    (from rev 279805, libqtshadowsocks/trunk/PKGBUILD)

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

Copied: libqtshadowsocks/repos/community-testing-x86_64/PKGBUILD (from rev 279805, libqtshadowsocks/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-01-07 07:28:27 UTC (rev 279806)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: yk <yk at archlinuxcn dot org>
+
+pkgname=libqtshadowsocks
+pkgver=2.0.1
+pkgrel=1
+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=('a81cfce909c1b2660b107a5b253030e16d6ffb3ed82e09baeda8d95efb61c52481ad1c7378893221e7e236835f007ea6f8f89741c0e467202cd60eda182c1336')
+
+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