This commit is contained in:
chn 2021-04-27 17:29:47 +08:00
parent 3d061f70b3
commit 7d2e046b46
2 changed files with 8 additions and 7 deletions

View file

@ -1,17 +1,18 @@
# Maintainer: AkinoKaede <autmaple@protonmail.com>
# Maintainer: DuckSoft <realducksoft@gmail.com>
# Maintainer: chn <g897331845@gmail.com>
# Contributor: AkinoKaede <autmaple@protonmail.com>
# Contributor: DuckSoft <realducksoft@gmail.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: pandada8 <pandada8@gmail.com>
pkgname=xray-bin
pkgver=1.4.1
pkgver=1.4.2
pkgrel=1
pkgdesc="The best v2ray-core, with XTLS support."
arch=('x86_64')
url="https://github.com/XTLS/Xray-core"
license=('MPL2')
depends=('glibc' 'v2ray-domain-list-community' 'v2ray-geoip')
backup=(etc/xray/config.json)
backup=('etc/xray/config.json')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=(
@ -22,11 +23,11 @@ source=(
"xray.service"
"xray@.service"
)
sha512sums=('04b1a1d3df1f87b7dbde6431501745213071d4435a2fe8f63fe15aa222f2352a99d1a34a221390a423eb3e8eeb719a05d44f12a6479cf78431eb214d01f944f3'
sha512sums=('aa3ce8f643b62fd3efed09e87175ae23c438506a19d6265902d0ac72d653d41490a7fc9bb9883005606cd41b53ca40b08f6f94c1055441ffd846d68d338a8c9a'
'2000211cbf987adaee7f278cc8cb23268965caab3bc46401f9324f2beaad95bec11012f5f4500f1016f4b75f097f3ac96cc5be2da7a6df0261582b3f23b3d78d'
'9914fd3da02511b716951e521ca22006a6e8ad66e64d32cc7dd7dc3544a754174b37e35df6108ca217130f02763265d74f8bc56c4e52b262bdd48dcdb5310eb5'
'532f66fe19196de0cc43df1812d6f32cbca7bbcacaa0cd4141bd80b3121b17eb8b23e0464765cf05a97b11e0213fb688eade83e393e36b3e7ebded6f0925de97'
'f5ea93fab3a108ee30bbf9ac6f611df0397809f0c63c6bdb79dde60a49c3be175b4c915bd4d26313fbd2703b73f3a28f3e158352c521d1173baac219df73300d'
'b9bfe018e0b04e9269d4a779c50222dbf5653051533f78a511cdbd17bd9744715ea4f9127b30a6c74d8ffcbca1f22a271c53997758a3190f4dde6d17f313d8ac'
'7c96cbea8d8e34d2458c3aeb31b03e9f322e3774193e0458f003f2336c7ff39b65a94840942f09b7c5e96287c74cdd8b7b96717e38ff230161ad887d34a86d8f')
package() {

View file

@ -9,7 +9,7 @@ CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
Environment=XRAY_LOCATION_ASSET=/usr/share/v2ray
ExecStart=/usr/bin/xray run -config /etc/xray/config.json
ExecStart=/usr/bin/xray run -config /etc/xray/config.json -confdir /etc/xray/config.d
Restart=on-failure
RestartPreventExitStatus=23