File tree Expand file tree Collapse file tree
archlinuxcn/python-pwncli Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Maintainer: RocketDev <ma2014119@outlook.com>
2+
3+ _pkgbase=' pwncli'
4+ pkgname=python-$_pkgbase -git
5+ pkgver=v1.6.r15.gcc6b696
6+ pkgrel=1
7+ pkgdesc=' Do pwn by command line'
8+ arch=(' any' )
9+ url=" https://github.com/RoderickChan/$_pkgbase "
10+ license=(MIT)
11+ depends=(
12+ python
13+ python-click
14+ python-pwntools
15+ python-requests
16+ python-pysocks
17+ ropper
18+ )
19+ makedepends=(
20+ git
21+ python-build
22+ python-setuptools
23+ python-installer
24+ python-wheel
25+ )
26+ source=(" git+$url .git" )
27+ b2sums=(' SKIP' )
28+
29+ pkgver () {
30+ cd " $_pkgbase "
31+ git describe --long --tags --abbrev=7 | sed ' s/\([^-]*-g\)/r\1/;s/-/./g'
32+ }
33+
34+ build () {
35+ cd " $_pkgbase "
36+ python -m build --wheel --no-isolation
37+ }
38+
39+ package () {
40+ cd " $_pkgbase "
41+ python -m installer --destdir=" $pkgdir " dist/* .whl
42+ install -Dm0644 -t " $pkgdir /usr/share/licenses/$pkgname " LICENSE
43+ }
Original file line number Diff line number Diff line change 1+ maintainers :
2+ - github : RocketMaDev
3+ email : RocketDev <marocketbd@gmail.com>
4+
5+ pre_build_script : |
6+ update_pkgver_and_pkgrel(_G.newver)
7+
8+ post_build_script : |
9+ git_pkgbuild_commit()
10+
11+ update_on :
12+ - source : github
13+ github : RoderickChan/pwncli
Original file line number Diff line number Diff line change 1+ # Maintainer: RocketDev <ma2014119@outlook.com>
2+
3+ _pkgbase=' pwncli'
4+ pkgname=python-$_pkgbase -git
5+ pkgver=v1.6.r15.gcc6b696
6+ pkgrel=1
7+ pkgdesc=' Do pwn by command line'
8+ arch=(' any' )
9+ url=" https://github.com/RoderickChan/$_pkgbase "
10+ license=(MIT)
11+ depends=(
12+ python
13+ python-click
14+ python-pwntools
15+ python-requests
16+ python-pysocks
17+ ropper
18+ )
19+ makedepends=(
20+ git
21+ python-build
22+ python-setuptools
23+ python-installer
24+ python-wheel
25+ )
26+ source=(" git+$url .git" )
27+ b2sums=(' SKIP' )
28+
29+ pkgver () {
30+ cd " $_pkgbase "
31+ git describe --long --tags --abbrev=7 | sed ' s/\([^-]*-g\)/r\1/;s/-/./g'
32+ }
33+
34+ build () {
35+ cd " $_pkgbase "
36+ python -m build --wheel --no-isolation
37+ }
38+
39+ package () {
40+ cd " $_pkgbase "
41+ python -m installer --destdir=" $pkgdir " dist/* .whl
42+ install -Dm0644 -t " $pkgdir /usr/share/licenses/$pkgname " LICENSE
43+ }
Original file line number Diff line number Diff line change 1+ maintainers :
2+ - github : RocketMaDev
3+ email : RocketDev <marocketbd@gmail.com>
4+
5+ pre_build_script : |
6+ update_pkgver_and_pkgrel(_G.newver)
7+
8+ post_build_script : |
9+ git_pkgbuild_commit()
10+
11+ update_on :
12+ - source : github
13+ github : RoderickChan/pwncli
You can’t perform that action at this time.
0 commit comments