blob: 60bc380ebc866aad8f7378bb6131bc7a4c8ac48c (
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
|
# Maintainer: Artemii Sudakov <finziyr@yandex.ru>
pkgname="kesboot-git"
pkgver=1.3.r0.g8bfb582
pkgrel=1
pkgdesc='Script for automating work with EFI Kernel Stub (linux)'
arch=('any')
url="https://github.com/BiteDasher/kesboot"
license=('MIT')
depends=('efibootmgr' 'sed' 'grep' 'util-linux' 'coreutils' 'binutils')
makedepends=('git')
source=("${pkgname}::git+https://github.com/BiteDasher/kesboot.git")
sha512sums=("SKIP")
backup=('etc/kesboot.conf')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
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
}
|