summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0af28db0c29c..51a4b7ac892d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xray-bin
pkgdesc = The best v2ray-core, with XTLS support.
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/XTLS/Xray-core
arch = x86_64
license = MPLv2
diff --git a/PKGBUILD b/PKGBUILD
index dd0d779f9ddc..5aeea1e78583 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=xray-bin
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="The best v2ray-core, with XTLS support."
arch=('x86_64')
url="https://github.com/XTLS/Xray-core"
@@ -31,6 +31,7 @@ sha512sums=(
prepare() {
cd $srcdir
sed -i 's|/usr/local/bin|/usr/bin|;s|/usr/local/etc|/etc|' systemd/system/*.service
+ sed -i '/ExecStart/i\Environment=XRAY_LOCATION_ASSET=/usr/share/v2ray' systemd/system/*.service
}