blob: 6d9574a18b101fe99ada84f293899de4dcd76f91 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Integral <integral@member.fsf.org>
pkgname=qefientrymanager
_srcname=QEFIEntryManager
pkgver=0.4.1
pkgrel=3
pkgdesc="A userspace cross-platform EFI boot entry management GUI App based on Qt"
arch=('x86_64' 'aarch64' 'riscv64')
url="https://github.com/Inokinoki/${_srcname}"
license=('GPL-3.0-or-later')
depends=('qt6-base' 'qt6-wayland' 'efivar' 'hicolor-icon-theme' 'polkit')
makedepends=('git' 'cmake' 'qt6-tools' 'clang')
source=(
"git+${url}.git#tag=v${pkgver}"
"git+https://github.com/Inokinoki/qefivar.git"
)
sha256sums=('c294231c0570c5a25d63ec140a472b8e1f070254fa143c7cc2af6968a4292d14'
'SKIP')
prepare() {
cd "${_srcname}/"
git submodule init
git config submodule.qefivar.url "${srcdir}/qefivar/"
git -c protocol.file.allow=always submodule update
mkdir -p build
}
build() {
cd "${_srcname}/build/"
cmake -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr ..
cmake --build .
}
package() {
cd "${_srcname}/"
DESTDIR="${pkgdir}" cmake --install build
# License
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}/"
# Documentation
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${_pkgname}/"
}
|