-
Notifications
You must be signed in to change notification settings - Fork 476
/
PKGBUILD
31 lines (26 loc) · 924 Bytes
/
PKGBUILD
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
#Maintainer: Viking @Vikingfr <https://twitter.com/Vikingfr>
#Maintainer: Mayfly @M4yFly <https://twitter.com/M4yFly>
#Maintainer: Erick Sanchez Vera "T1erno" <erickdeveloper2000@outlook com>
pkgname=arsenal
pkgver=1.2.1
pkgrel=1
pkgdesc='Arsenal is just a quick inventory and launcher for hacking programs'
url='https://github.com/Orange-Cyberdefense/arsenal'
arch=('any')
license=('GPL')
depends=('python>=3.7')
source=(${pkgname}::git+https://github.com/Orange-Cyberdefense/arsenal.git)
sha512sums=('SKIP')
build() {
cd $pkgname
python setup.py build
}
package() {
cd $pkgname
echo "alias a='arsenal'" >> ~/.bash_aliases
echo "alias a='arsenal'" >> ~/.zshrc
echo "alias a='arsenal'" >> ~/.bashrc
python setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
install -Dm 644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}
}