blob: af1de0329ba4d36e5e777a4a815119783268b278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: lisuke <1657787678@qq.com>
pkgname=xx-net
pkgver=5.4.2
pkgrel=8
pkgdesc="XX-Net, a web proxy tool."
arch=('any')
url="https://github.com/XX-net/XX-Net"
license=('unknown')
depends=('python' 'python-pycryptodome')
options=('!strip')
optdepends=()
makedepends=()
checkdepends=()
source=(
"https://github.com/XX-net/$pkgname/archive/$pkgver.tar.gz"
"xx-net.service"
)
noextract=()
md5sums=('SKIP'
'c0a4e9d6f4c8fcee0e8a26f3018dfe4f')
install=$pkgname.install
validpgpkeys=()
package() {
mkdir -p $pkgdir/opt/XX-net/
cp -r ${srcdir}/XX-Net-$pkgver/* $pkgdir/opt/XX-net/
mkdir -p $pkgdir/usr/bin/
ln -s /opt/XX-net/xx_net.sh $pkgdir/usr/bin/xx_net
install -D -m644 ${srcdir}/xx-net.service $pkgdir/usr/lib/systemd/system/xx-net.service
}
|