blob: cb78c28e9d522132abdd938fb36089857c0781b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Ninso112
pkgname=bootwhy
pkgver=0.1.0
pkgrel=1
pkgdesc="A lightweight CLI tool for analyzing Linux boot performance"
arch=('any')
url="https://github.com/Ninso112/bootwhy"
license=('GPL3')
depends=('python' 'systemd')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("$url/archive/v$pkgver.tar.gz")
sha256sums=('SKIP') # Replace with actual checksum after creating release
build() {
cd "$srcdir/$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|