diff options
author | Yiyao Yu | 2019-06-23 13:15:50 +0800 |
---|---|---|
committer | Yiyao Yu | 2019-06-23 13:15:50 +0800 |
commit | 43bae3e4b3132338d2fe0b2396d01b5565985041 (patch) | |
tree | da8b9aee5c2cbe58eac542002885da3a9067ac88 | |
parent | 30f67e338a5547826737fdbd637b034b7e08386f (diff) | |
download | aur-shadowsocks-git.tar.gz |
Changed to use makepkg branch selection instead of prepare
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 5 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = shadowsocks-git pkgdesc = A lightweight tunnel proxy - pkgver = 2.9.1.r24.ge332ec9 + pkgver = 2.9.1.r25.g5ff694b pkgrel = 1 url = https://github.com/shadowsocks/shadowsocks/tree/master install = shadowsocks.install @@ -19,7 +19,7 @@ pkgbase = shadowsocks-git optdepends = libsodium: For salsa20 and chacha20 support provides = shadowsocks conflicts = shadowsocks - source = shadowsocks::git+https://github.com/shadowsocks/shadowsocks.git + source = shadowsocks::git+https://github.com/shadowsocks/shadowsocks.git#branch=master source = shadowsocks@.service source = shadowsocks-server@.service sha512sums = SKIP @@ -5,7 +5,7 @@ _enabletests=0 _pkgname=shadowsocks pkgname="${_pkgname}-git" -pkgver=2.9.1.r24.ge332ec9 +pkgver=2.9.1.r25.g5ff694b pkgrel=1 pkgdesc="A lightweight tunnel proxy" license=('Apache') @@ -19,7 +19,7 @@ makedepends=('git') optdepends=('libsodium: For salsa20 and chacha20 support') checkdepends=('python-coverage' 'python-pyflakes' 'libsodium' 'python-nose' 'dante' 'procps-ng' 'util-linux') install=${_pkgname}.install -source=("${_pkgname}::git+${_url}.git" +source=("${_pkgname}::git+${_url}.git#branch=master" "shadowsocks@.service" "shadowsocks-server@.service") sha512sums=('SKIP' @@ -30,14 +30,10 @@ pkgver(){ git -C "${_pkgname}" describe --long --tags | sed "s/-/.r/;s/-/./g" } -prepare(){ - git -C "${_pkgname}" checkout master -} - check() { cd shadowsocks if [ ${_enabletests} -eq 1 ]; then - echo Running tests, this might take a while... + echo Running tests, this might take a while... tests/jenkins.sh || warning "Tests failed" else echo Tests have been disabled, set _enabletests to 1 if you want to run them. |