blob: 40d8fb6fd7f13e041739b8c732aa11bd09389423 (
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
|
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
_pkgname="pd-mapper"
pkgname="$_pkgname-git"
pkgdesc="Qualcomm Protection Domain mapper"
pkgver=r18.107104b
pkgrel=1
arch=("aarch64")
url="https://github.com/andersson/$_pkgname"
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("qrtr")
makedepends=("git" "make" "gcc")
provides=("$_pkgname")
source=("git+https://github.com/andersson/$_pkgname.git")
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/COPYING
}
|