blob: 2efcd5dd1625e895678f1dd6ed62d8b8819f1599 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com>
pkgname=rbspy
pkgver=0.17.0
pkgrel=1
pkgdesc="Sampling profiler for Ruby"
url="https://rbspy.github.io"
makedepends=('fakeroot' 'cargo')
arch=('x86_64')
license=('MIT')
conflicts=('rbspy')
source=(
"https://github.com/rbspy/rbspy/archive/v${pkgver}.tar.gz"
)
sha256sums=(
'4b5b64a42c1a307c06886b2686d9496e0df205fe5e1e98ef9e3ca6ed226753c2'
)
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$pkgname-$pkgver"
install -D -m755 target/release/rbspy "${pkgdir}/usr/bin/rbspy"
install -D -m644 License.md "$pkgdir/usr/share/licenses/$pkgname/License.md"
install -D -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -D -m644 ARCHITECTURE.md "$pkgdir/usr/share/doc/$pkgname/ARCHITECTURE.md"
install -D -m644 CODE_OF_CONDUCT.md "$pkgdir/usr/share/doc/$pkgname/CODE_OF_CONDUCT.md"
install -D -m644 CONTRIBUTORS.md "$pkgdir/usr/share/doc/$pkgname/CONTRIBUTORS.md"
}
|