diff options
author | Gzxhwq | 2021-12-25 22:18:41 +0800 |
---|---|---|
committer | Gzxhwq | 2021-12-25 22:18:41 +0800 |
commit | e69aba54ab07a6fb82f67e8ab7cdf2c1e53f19fa (patch) | |
tree | c02a46a42bf879d3f2d0c7718c97d6523922e58d | |
parent | 2383f1da4c3f4043807ba3805ea025b5f749ecd8 (diff) | |
download | aur-e69aba54ab07a6fb82f67e8ab7cdf2c1e53f19fa.tar.gz |
Symbolic link to file instead of directory
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = v2ray-rules-dat-autoupdate pkgdesc = Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update. - pkgver = 1.0 + pkgver = 1.1 pkgrel = 1 url = https://github.com/Loyalsoldier/v2ray-rules-dat install = v2ray-rules-dat-autoupdate.install @@ -31,7 +31,7 @@ pkgbase = v2ray-rules-dat-autoupdate source = v2ray-rules-dat-autoupdate.tmpfiles source = v2ray-rules-dat-autoupdate.service source = v2ray-rules-dat-autoupdate.timer - sha256sums = fa954de1d86de38ffec91fed6ee0b958ad3fbb42892c6dd6ceeff7db8e3a30c0 + sha256sums = 171b60ed73b282980460177fb6722ccc2dd80d89bb1aee41e3a4a530a680306d sha256sums = 1fd7c4f89bb0b89520b1615a5d6e1372a90a3b13ecb1c6669825c44cc52169b4 sha256sums = d5deeb9e02b2cf6e233da4369bb7d74e06054bd54ee9e62875f3342d7c931dbd sha256sums = 5d0fac85c93516f45281f3e45071f4f98c4a9eadfbd72602129c888c823b79ef @@ -2,7 +2,7 @@ pkgname=v2ray-rules-dat-autoupdate _pkgname=v2ray-rules-dat pkgdesc="Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update." -pkgver=1.0 +pkgver=1.1 pkgrel=1 arch=('any') url="https://github.com/Loyalsoldier/v2ray-rules-dat" @@ -44,9 +44,10 @@ package() { install -Dm644 "./geoip.dat" "${pkgdir}/var/lib/${_pkgname}/geoip.dat" install -Dm644 "./geosite.dat" "${pkgdir}/var/lib/${_pkgname}/geosite.dat" - mkdir -p "${pkgdir}/usr/share/" - ln -sf "/var/lib/${_pkgname}" "${pkgdir}/usr/share/v2ray" - ln -sf "/var/lib/${_pkgname}" "${pkgdir}/usr/share/xray" + mkdir -p "${pkgdir}/usr/share/"{v2ray,xray} + + ln -sf "/var/lib/${_pkgname}/"*.dat "${pkgdir}/usr/share/v2ray/" + ln -sf "/var/lib/${_pkgname}/"*.dat "${pkgdir}/usr/share/xray/" install -Dm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}" install -Dm644 "./${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf" |