mirror of
https://github.com/0x5t4l1n/NexTOR_IP_CHANGER.git
synced 2026-05-26 11:51:55 +00:00
Update PKGBUILD
This commit is contained in:
@@ -7,15 +7,22 @@ url="https://github.com/Stalin-143/NexTOR_IP_CHANGER"
|
||||
license=('MIT')
|
||||
depends=('python' 'tor')
|
||||
makedepends=('git')
|
||||
source=("git+${url}.git")
|
||||
source=("git+$url.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/NexTOR_IP_CHANGER/Nex_Tor_IP_changer"
|
||||
|
||||
install -Dm755 NexTOR.py "$pkgdir/usr/bin/nextor"
|
||||
# Install the main script to /usr/share/Nex
|
||||
install -d "$pkgdir/usr/share/Nex"
|
||||
install -m755 NexTOR.py "$pkgdir/usr/share/Nex/NexTOR.py"
|
||||
|
||||
# Create a launcher script as /usr/bin/nextor
|
||||
install -d "$pkgdir/usr/bin"
|
||||
echo -e "#!/bin/bash\npython /usr/share/Nex/NexTOR.py" > "$pkgdir/usr/bin/nextor"
|
||||
chmod +x "$pkgdir/usr/bin/nextor"
|
||||
|
||||
# Docs and license
|
||||
install -Dm644 "$srcdir/NexTOR_IP_CHANGER/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
install -Dm644 "$srcdir/NexTOR_IP_CHANGER/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user