pkg-pd-mapper/PKGBUILD

32 lines
744 B
Bash
Raw Permalink Normal View History

2023-12-14 15:14:38 +08:00
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
# Maintainer: BigfootACA <bigfoot@classfun.cn>
pkgname="pd-mapper"
pkgdesc="Qualcomm Protection Domain mapper"
2024-09-18 21:26:20 +08:00
pkgver=r21.e7c42e1
pkgrel=2
2023-12-14 15:14:38 +08:00
arch=("aarch64")
2024-04-30 02:38:21 +08:00
url="https://github.com/linux-msm/pd-mapper"
2023-12-14 15:14:38 +08:00
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("qrtr")
makedepends=("git" "make" "gcc")
2024-04-30 02:38:21 +08:00
source=("git+https://gitea.classfun.cn:4443/mirrors/pd-mapper")
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() {
cd "$pkgname"
make prefix=/usr
}
package() {
cd "$pkgname"
make prefix=/usr DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}