summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorm8D22019-03-05 07:44:41 -0800
committerm8D22019-03-05 07:44:41 -0800
commitd937760f7668d23953b196ee6e00d0a7801431ba (patch)
tree625a6d2adbbb4fb5b55134dbf3440209d00962b0
parent223602ea1cc36fd9753288e7f4f8c6cecc06afd6 (diff)
downloadaur-d937760f7668d23953b196ee6e00d0a7801431ba.tar.gz
3.2.4.r11.g14dd820
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 20886402270..d0ff05a741e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = shadowsocks-libev-git
pkgdesc = A lightweight secured socks5 proxy for embedded devices and low end boxes
- pkgver = 3.2.4.r5.g2ee1235
+ pkgver = 3.2.4.r11.g14dd820
pkgrel = 1
url = https://github.com/shadowsocks/shadowsocks-libev
install = shadowsocks-libev-git.install
arch = x86_64
license = GPL3
makedepends = asciidoc
- makedepends = xmlto
makedepends = git
+ makedepends = xmlto
depends = libcap
depends = mbedtls
depends = libsodium
diff --git a/PKGBUILD b/PKGBUILD
index 93e9467e325..8b614e1f61e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,14 @@
pkgname=shadowsocks-libev-git
-pkgver=3.2.4.r5.g2ee1235
+pkgver=3.2.4.r11.g14dd820
pkgrel=1
pkgdesc='A lightweight secured socks5 proxy for embedded devices and low end boxes'
arch=(x86_64)
url='https://github.com/shadowsocks/shadowsocks-libev'
license=(GPL3)
depends=(libcap mbedtls libsodium libev c-ares pcre libcorkipset libbloom)
-makedepends=(asciidoc xmlto git)
+makedepends=(asciidoc git xmlto)
provides=(shadowsocks-libev)
conflicts=(shadowsocks-libev)
install=${pkgname}.install
@@ -30,6 +30,7 @@ sha512sums=('SKIP'
pkgver() {
cd "$pkgname"
+
# cutting off 'v' prefix that presents in the git tag
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
@@ -50,6 +51,7 @@ build() {
package() {
cd "$srcdir"/$pkgname
+
make DESTDIR="$pkgdir/" install
install -Dm644 "$srcdir/shadowsocks-libev@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev@.service"
install -Dm644 "$srcdir/shadowsocks-libev-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-server@.service"