Date: Saturday, April 20, 2019 @ 23:32:10 Author: arojas Revision: 452579
archrelease: copy trunk to community-staging-x86_64 Added: libqtshadowsocks/repos/community-staging-x86_64/ libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD (from rev 452578, libqtshadowsocks/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD (from rev 452578, libqtshadowsocks/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-04-20 23:32:10 UTC (rev 452579) @@ -0,0 +1,25 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: yk <yk at archlinuxcn dot org> + +pkgname=libqtshadowsocks +pkgver=2.1.0 +pkgrel=6 +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 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release . + make +} + +package() { + cd libQtShadowsocks-$pkgver + make DESTDIR="$pkgdir" install +}