summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlilac2021-10-16 04:22:32 +0800
committerlilac2021-10-16 04:22:32 +0800
commit9fd7e52edd70b90f60a895784eb33b0f0add002e (patch)
treec9b4b205dd880a0f88409f11204b61d99c770e90 /PKGBUILD
parenta38518f472788d3b54f51452e7800019af591d3c (diff)
downloadpackages-9fd7e52edd70b90f60a895784eb33b0f0add002e.tar.gz
packages-9fd7e52edd70b90f60a895784eb33b0f0add002e.tar.bz2
packages-9fd7e52edd70b90f60a895784eb33b0f0add002e.zip
[lilac] updated to 0.3.10-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f6b74a9..b178428 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,25 @@
1# Maintainer: Clayton Craft <clayton@craftyguy.net> 1# Maintainer: lilydjwg <lilydjwg@gmail.com>
2# Contributor: Clayton Craft <clayton@craftyguy.net>
3_name=py_spy
2pkgname=py-spy 4pkgname=py-spy
3pkgver=0.3.7 5pkgver=0.3.10
4pkgrel=0 6pkgrel=1
5pkgdesc="Sampling profiler for Python programs" 7pkgdesc="Sampling profiler for Python programs"
6arch=('x86_64') 8arch=('x86_64')
7license=('GPL3') 9license=('GPL3')
8url="https://github.com/benfred/py-spy" 10url="https://github.com/benfred/py-spy"
9makedepends=('rust' 'cargo' 'libunwind') 11makedepends=('rust' 'cargo' 'libunwind')
10source=("$pkgname-$pkgver.tar.gz::https://github.com/benfred/py-spy/archive/v$pkgver.tar.gz") 12source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
11sha512sums=('94c1f22a0d6c5771b11ea911ba338fba5445d296b1a7c6353b59f44cacdce676b0b224b36a059b952a967f6688ab827e5ff7dd0a671e01a6e9c45274cde0a98d') 13sha512sums=('c3ddeffe645b6f04ed9384bcb349d215db21c9011842b3a1f09ec727e8f0724d0e270a2a31a7a3f94a3f4d91bef90a498a248e70472fdf72e148835c89417bc0')
12 14
13build() { 15build() {
14 cd "${srcdir}/${pkgname}-${pkgver}" 16 cd "${srcdir}/${_name}-${pkgver}"
15 cargo build --release 17 cargo build --release
16} 18}
17 19
18package() { 20package() {
19 cd "${srcdir}/${pkgname}-${pkgver}" 21 cd "${srcdir}/${_name}-${pkgver}"
20 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy" 22 install -Dm755 "target/release/py-spy" "${pkgdir}/usr/bin/py-spy"
21 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 23 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
22 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" 24 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
23} 25}