File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed
Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ pkgname=zapret-installer
2+ pkgver=1.0
3+ pkgrel=1
4+ pkgdesc=" Zapret Linux Installer"
5+ arch=(' any' )
6+ url=" https://github.com/GMDProjectL/zapret.installer"
7+ license=(' MIT' )
8+ depends=(' git' ' bash' ' ipset' )
9+ makedepends=()
10+ checkdepends=()
11+ optdepends=()
12+ backup=()
13+ options=()
14+ install=
15+ source=(${pkgname} ::" git+https://github.com/GMDProjectL/zapret.installer.git" )
16+
17+ package () {
18+ cd " $srcdir "
19+
20+ install -d " ${pkgdir} /opt/zapret.installer"
21+ install -d " ${pkgdir} /usr/share/applications"
22+ install -d " ${pkgdir} /usr/bin"
23+
24+ cp -a ./zapret-installer/* " ${pkgdir} /opt/zapret.installer/"
25+
26+ cp " ../zapret-installer.desktop" " ${pkgdir} /usr/share/applications/"
27+
28+ ln -s /opt/zapret.installer/zapret-control.sh " ${pkgdir} /usr/bin/zapret"
29+
30+ rm -rf " ${pkgdir} /opt/zapret.installer/.git"
31+ }
Original file line number Diff line number Diff line change 1+ # Zapret Installer for Arch Linux
2+
3+ PKGBUILD for https://github.com/GMDProjectL/zapret.installer
Original file line number Diff line number Diff line change 1+ [Desktop Entry]
2+ Version =1.0
3+ Type =Application
4+
5+ Name =Zapret
6+ Categories =Utility;KDE;
7+
8+ Icon =applications-internet
9+ Exec =zapret
10+ Terminal =true
You can’t perform that action at this time.
0 commit comments