summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b3c558853ace6dd368bb162129e682aabc09207 (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
36
37
38
39
# Maintainer: Inche Hwang <me [at] coldified [dot] dev>
# Contributor: Alif Zakiansyah As Syauqi <alifzakiansyah10@gmail.com>
pkgname="spoof-dpi-bin"
pkgver=0.10.11
pkgrel=3
# epoch=
pkgdesc="A simple and fast software designed to bypass Deep Packet Inspection"
arch=(x86_64)
url="https://github.com/xvzc/SpoofDPI"
license=('MIT')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=(spoof-dpi)
conflicts=(spoof-dpi)
replaces=()
backup=(etc/conf.d/spoof-dpi)
options=()
install=
changelog=
source=("spoof-dpi-conf.d"
        "spoof-dpi.service"
        "${url}/raw/main/LICENSE"
        "${pkgname/-bin/}-${pkgver}-${pkgrel}.tar.gz::${url}/releases/download/${pkgver}/${pkgname/-bin/}-linux-amd64.tar.gz")
noextract=()
md5sums=('9910ed8f7bdfff59ccd66841520f9c3b'
         '03a66fa5985b9717679c842e48966f5f'
         'e1f6858d174b262382b078db452046fa'
         'c0241685a006177ee1160d5030fffbf8')


package() {
  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm 755 spoof-dpi "${pkgdir}/usr/bin/${pkgname/-bin/}"
  install -Dm 644 spoof-dpi-conf.d "${pkgdir}/etc/conf.d/spoof-dpi"
  install -Dm 644 spoof-dpi.service "${pkgdir}/usr/lib/systemd/system/spoof-dpi.service"
}