blob: 76a878fbdca1e7ab66c1471d3442ec472664254e (
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
|
# Maintainer: Rehan Rana <rehanalirana@tuta.io>
pkgname=bootstub-updater
pkgver=1.0.0
pkgrel=1
pkgdesc='A utility to facilitate the maintenance of your EFI bootstub.'
arch=('x86_64')
url='https://github.com/RAR27/bootstub-updater'
license=('GPL3')
makedepends=('rust')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('f318e65cb3ca8eede7e075f99058f714f47ed2678b53cde3cf50320a37b68a41')
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|