pkg-qbootctl/PKGBUILD

29 lines
689 B
Bash
Raw Permalink Normal View History

2023-12-14 15:14:38 +08:00
# Maintainer: BigfootACA <bigfoot@classfun.cn>
pkgname="qbootctl"
pkgdesc="Qualcomm bootctl HAL for Linux"
pkgver=r27.b8d2248
2024-05-19 18:11:27 +08:00
pkgrel=2
2023-12-14 15:14:38 +08:00
arch=("aarch64")
url="https://gitlab.com/sdm845-mainline/qbootctl"
license=("GPL3")
depends=("glibc" "zlib" "gcc-libs")
makedepends=("git" "meson" "gcc")
2024-05-19 18:11:27 +08:00
source=("git+https://gitea.classfun.cn:4443/mirrors/qbootctl.git")
2023-12-14 15:14:38 +08:00
md5sums=("SKIP")
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
arch-meson "$pkgname" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
install -Dm644 "$pkgname/LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}