Skip to content

Commit 0ea2ca0

Browse files
initial
0 parents  commit 0ea2ca0

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

PKGBUILD

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Zapret Installer for Arch Linux
2+
3+
PKGBUILD for https://github.com/GMDProjectL/zapret.installer

zapret-installer.desktop

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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

0 commit comments

Comments
 (0)