summaryrefslogtreecommitdiffstats
path: root/py-spy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'py-spy/PKGBUILD')
-rw-r--r--py-spy/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/py-spy/PKGBUILD b/py-spy/PKGBUILD
index 3534b8e..23cb8cf 100644
--- a/py-spy/PKGBUILD
+++ b/py-spy/PKGBUILD
@@ -1,23 +1,24 @@
1# Maintainer: lilydjwg <lilydjwg@gmail.com> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: lilydjwg <lilydjwg@gmail.com>
2# Contributor: Clayton Craft <clayton@craftyguy.net> 3# Contributor: Clayton Craft <clayton@craftyguy.net>
3pkgname=py-spy 4pkgname=py-spy
4pkgver=0.3.14 5pkgver=0.4.0
5pkgrel=1 6pkgrel=1
6pkgdesc="Sampling profiler for Python programs" 7pkgdesc="Sampling profiler for Python programs"
7arch=('x86_64') 8arch=('x86_64')
8license=('GPL3') 9license=('MIT')
9url="https://github.com/benfred/py-spy" 10url="https://github.com/benfred/py-spy"
10makedepends=('rust' 'cargo' 'libunwind') 11makedepends=('rust' 'cargo' 'libunwind')
11source=("https://github.com/benfred/py-spy/archive/refs/tags/v${pkgver}.tar.gz") 12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
12sha512sums=('f079b002248a033eac3b93723fd267e6cbdb415ac3172ace0d14eb9cd87a1e4adf471eeec641f9644abe8a4fab43b48db7440b4b1242ea18e02bcc574104d303') 13sha256sums=('13a5c4b949947425670eedac05b6dd27edbc736b75f1587899efca1a7ef79ac3')
13 14
14build() { 15build() {
15 cd "${srcdir}/${pkgname}-${pkgver}" 16 cd "${pkgname}-${pkgver}"
16 cargo build --release 17 cargo build --release
17} 18}
18 19
19package() { 20package() {
20 cd "${srcdir}/${pkgname}-${pkgver}" 21 cd "${pkgname}-${pkgver}"
21 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" 22 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy"
22 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 23 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
23 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" 24 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"