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

Felix Yan felixonmars at archlinux.org
Sat Oct 27 14:53:38 UTC 2018


    Date: Saturday, October 27, 2018 @ 14:53:37
  Author: felixonmars
Revision: 399212

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD (from rev 399210, libqtshadowsocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-10-27 14:53:37 UTC (rev 399212)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: yk <yk at archlinuxcn dot org>
+
+pkgname=libqtshadowsocks
+pkgver=2.1.0
+pkgrel=4
+pkgdesc="A lightweight library for shadowsocks"
+arch=("x86_64")
+url="https://github.com/shadowsocks/libQtShadowsocks"
+license=("GPL")
+depends=('botan>=2.7.0' 'qt5-base')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/libQtShadowsocks/archive/v$pkgver.tar.gz")
+sha512sums=('af5b71ce7e40b593bf95c1000d866e2c4426d17398620083a996b84234524e8418fbae071edd03ac1944817a96d7eee8b0b7a5860872fef41996ebbda8418558')
+
+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