blob: cf4bc6b1799ce5ed6d10cbda584b5d3032f2add3 (
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.9.9
pkgrel=1
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=('d8938d86ad7141b7fdeb07831188274a'
'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
}
|