29 lines
642 B
Bash
29 lines
642 B
Bash
# Maintainer: BigfootACA <bigfoot@classfun.cn>
|
|
|
|
pkgname="qbootctl"
|
|
pkgdesc="Qualcomm bootctl HAL for Linux"
|
|
pkgver=r27.b8d2248
|
|
pkgrel=1
|
|
arch=("aarch64")
|
|
url="https://gitlab.com/sdm845-mainline/qbootctl"
|
|
license=("GPL3")
|
|
depends=("glibc" "zlib" "gcc-libs")
|
|
makedepends=("git" "meson" "gcc")
|
|
source=("git+$url")
|
|
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
|
|
}
|