diff options
author | Hexchain Tong | 2017-01-17 10:41:46 +0800 |
---|---|---|
committer | Hexchain Tong | 2017-01-17 10:41:46 +0800 |
commit | 5b116579395e7b0d1812bb4a52ec4e4628a9a3a6 (patch) | |
tree | a4cdd58064d21e6b8c7cb0dd5c22296d81a86c0e | |
parent | 21372f3424b78a8f47814effe423a1c79170c879 (diff) | |
download | aur-5b116579395e7b0d1812bb4a52ec4e4628a9a3a6.tar.gz |
upgpkg
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon Jan 9 08:19:18 UTC 2017 +# Tue Jan 17 02:41:27 UTC 2017 pkgbase = simple-obfs-git pkgdesc = A simple obfusacting tool, designed as plugin server of shadowsocks. - pkgver = r9.4461e1f + pkgver = v0.0.2.r14.g6956a6a pkgrel = 1 url = https://github.com/shadowsocks/simple-obfs arch = x86_64 @@ -10,6 +10,8 @@ pkgbase = simple-obfs-git depends = libsodium depends = libev depends = udns + provides = simple-obfs + conflicts = simple-obfs source = git+https://github.com/shadowsocks/simple-obfs.git sha256sums = SKIP @@ -3,18 +3,20 @@ _pkgname="simple-obfs" pkgname="simple-obfs-git" pkgdesc="A simple obfusacting tool, designed as plugin server of shadowsocks." -pkgver=r9.4461e1f +pkgver=v0.0.2.r14.g6956a6a pkgrel=1 arch=(x86_64) license=("GPL3") url="https://github.com/shadowsocks/simple-obfs" source=("git+https://github.com/shadowsocks/simple-obfs.git") depends=('libsodium' 'libev' 'udns') +provides=("simple-obfs") +conflicts=("simple-obfs") pkgver() { cd "$_pkgname" ( set -o pipefail - git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + git describe --tags --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) } |