summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorClayton Craft2018-11-16 13:27:58 -0800
committerClayton Craft2018-11-16 13:27:58 -0800
commit530bb92e1fcb2588d5ae028aaaa0c59e74aff72c (patch)
tree5d984fdc1c3854aa4174c15a46fc9cb63be30494 /PKGBUILD
downloadpackages-530bb92e1fcb2588d5ae028aaaa0c59e74aff72c.tar.gz
packages-530bb92e1fcb2588d5ae028aaaa0c59e74aff72c.tar.bz2
packages-530bb92e1fcb2588d5ae028aaaa0c59e74aff72c.zip
Update to 0.1.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..11eae1d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
1# Maintainer: Clayton Craft <clayton at craftyguy dot net>
2pkgname=py-spy
3pkgver=0.1.8
4pkgrel=1
5pkgdesc="Sampling profiler for Python programs"
6arch=('x86_64')
7license=('GPL3')
8url="https://github.com/benfred/py-spy"
9depends=('python' 'python-setuptools-rust' 'rust')
10makedepends=('rust' 'cargo')
11provides=('py-spy')
12conflicts=('py-spy')
13source=("$pkgname-$pkgver.tar.gz::https://github.com/benfred/py-spy/archive/v$pkgver.tar.gz")
14sha512sums=('68831d1c066887f3473e9eef1a773c0f9e1eb9252f929b0884b1d04faede90a72d7e3eb949d14e2e75c12e2645bf6b57ea5f94d5514491f46594231ad68ad1d1')
15
16build() {
17 cd ${srcdir}/${pkgname}-${pkgver}
18 cargo build --release
19}
20
21package() {
22 cd ${srcdir}/${pkgname}-${pkgver}
23 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy"
24 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
25 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
26}