mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/python-pwntools to 4.9.0-1
This commit is contained in:
parent
20f6b75d76
commit
3b1b9643a3
1 changed files with 7 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
pkgname=python-pwntools
|
pkgname=python-pwntools
|
||||||
_pyname=pwntools
|
_pyname=pwntools
|
||||||
pkgver=4.8.0
|
pkgver=4.9.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='CTF framework and exploit development library'
|
pkgdesc='CTF framework and exploit development library'
|
||||||
url='https://github.com/Gallopsled/pwntools'
|
url='https://github.com/Gallopsled/pwntools'
|
||||||
|
@ -37,9 +37,9 @@ depends=('python'
|
||||||
makedepends=('python-setuptools')
|
makedepends=('python-setuptools')
|
||||||
source=(https://github.com/Gallopsled/pwntools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
source=(https://github.com/Gallopsled/pwntools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||||
pwn.conf)
|
pwn.conf)
|
||||||
sha256sums=('a961f907acbc22ac54d2929da6a79f9065a819a0dd671dc22b45576cd8fab3b1'
|
sha256sums=('3e15da114dc3f15df0923d391e93bdcc071f5e5e87d74e68f50130db7c02e35b'
|
||||||
'50916e4e45d026422cd6bfe8de50e7246c61b0b1e0007571e7c04a994282fe89')
|
'50916e4e45d026422cd6bfe8de50e7246c61b0b1e0007571e7c04a994282fe89')
|
||||||
b2sums=('93dfd8e454007537ccd12fc54d45517010c1bca43312990b5e1eb13bb7eb5422fa22beca0742244edce79c2422a70c687e9ba75c0ba68fcaddc3e778a52913f5'
|
b2sums=('d811a96943fbe80a4082bdff412aee5df02250846189e6300e99a6630bc02906053e728ca9904b27ddc546ad2c3612818a046b4d6418d8ebf682df600b99bc99'
|
||||||
'cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07')
|
'cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -59,6 +59,10 @@ package() {
|
||||||
install -Dm 644 LICENSE-pwntools.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
install -Dm 644 LICENSE-pwntools.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.{txt,md}
|
rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.{txt,md}
|
||||||
|
|
||||||
|
# https://github.com/Gallopsled/pwntools/issues/2150
|
||||||
|
install -d "${pkgdir}/usr/share/doc/"
|
||||||
|
mv -v "${pkgdir}/usr/pwntools-doc" "${pkgdir}/usr/share/doc/"
|
||||||
|
|
||||||
install -Dm 644 extra/bash_completion.d/pwn -t "${pkgdir}/usr/share/bash-completion/completions/"
|
install -Dm 644 extra/bash_completion.d/pwn -t "${pkgdir}/usr/share/bash-completion/completions/"
|
||||||
install -Dm 644 extra/zsh_completion/_pwn -t "${pkgdir}/usr/share/zsh/site-functions/"
|
install -Dm 644 extra/zsh_completion/_pwn -t "${pkgdir}/usr/share/zsh/site-functions/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue