diff options
author | Rehan Rana | 2020-08-23 19:44:00 -0400 |
---|---|---|
committer | Rehan Rana | 2020-08-23 19:44:00 -0400 |
commit | c49985f71c0e042c4754fdd6976131bea8e161a7 (patch) | |
tree | adcf623a5b6db1ccc0c407669351488f4e08fe29 /PKGBUILD | |
download | aur-bootstub-updater.tar.gz |
v1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..76a878fbdca1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |