[arch-commits] Commit in libqtshadowsocks/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Aug 20 18:17:19 UTC 2017


    Date: Sunday, August 20, 2017 @ 18:17:18
  Author: felixonmars
Revision: 252773

upgpkg: libqtshadowsocks 1.11.0-1

Modified:
  libqtshadowsocks/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-20 17:25:32 UTC (rev 252772)
+++ PKGBUILD	2017-08-20 18:17:18 UTC (rev 252773)
@@ -3,24 +3,24 @@
 # Contributor: yk <yk at archlinuxcn dot org>
 
 pkgname=libqtshadowsocks
-pkgver=1.10.0
-pkgrel=3
+pkgver=1.11.0
+pkgrel=1
 pkgdesc="A lightweight library for shadowsocks."
 arch=("i686" "x86_64")
 url="https://github.com/shadowsocks/libQtShadowsocks"
 license=("GPL")
-depends=('qt5-base' 'botan1.10')
-makedepends=('git')
+depends=('qt5-base' 'botan')
+makedepends=('cmake')
 source=("https://github.com/shadowsocks/libQtShadowsocks/archive/v$pkgver.tar.gz")
-sha256sums=("67d2f9d3fa0e8e22e1d7fd1c850177a2d601f9c467fc024c0ba11eaedcef6279")
+sha512sums=('2e1e16b633ea5c2b72a182c289d7e9f9de532aff50584547cd8c9c56b3b6a0f568c899ff002b4cf69bf16421ec6180b80523a184f2f7a6717c0071c8656a1d7e')
 
 build() {
   cd libQtShadowsocks-$pkgver
-  qmake INSTALL_PREFIX=/usr
+  cmake -DUSE_BOTAN2=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
   make
 }
 
 package() {
   cd libQtShadowsocks-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list