diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 4 deletions
@@ -1,15 +1,17 @@ pkgbase = kesboot-git pkgdesc = Script for automating work with EFI Kernel Stub (linux) pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/BiteDasher/kesboot arch = x86_64 license = MIT + makedepends = git depends = efibootmgr depends = sed depends = grep depends = util-linux depends = coreutils + depends = binutils source = kesboot-git::git+https://github.com/BiteDasher/kesboot.git sha512sums = SKIP @@ -1,18 +1,23 @@ -# Author: Artemii Sudakov <finziyr@yandex.ru> +# Maintainer: Artemii Sudakov <finziyr@yandex.ru> pkgname="kesboot-git" pkgver="1.0" -pkgrel="1" +pkgrel="2" pkgdesc='Script for automating work with EFI Kernel Stub (linux)' arch=('x86_64') url="https://github.com/BiteDasher/kesboot" license=('MIT') -depends=('efibootmgr' 'sed' 'grep' 'util-linux' 'coreutils') +depends=('efibootmgr' 'sed' 'grep' 'util-linux' 'coreutils' 'binutils') +makedepends=('git') source=("${pkgname}::git+https://github.com/BiteDasher/kesboot.git") sha512sums=("SKIP") +pkgver() { + git rev-parse --short HEAD +} package() { cd "$srcdir/$pkgname" export pkgdir ./install.sh makepkg install -Dm755 ./firstboot "$pkgdir"/usr/lib/setup-efi-boot + install -Dm644 ./LICENSE "$pkgdir"/usr/share/licenses/kesboot/LICENSE } |