33 lines
909 B
Bash
33 lines
909 B
Bash
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
|
|
# Maintainer: BigfootACA <bigfoot@classfun.cn>
|
|
|
|
pkgname="rmtfs"
|
|
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
|
|
pkgver=r64.33e1e40
|
|
pkgrel=1
|
|
arch=("aarch64")
|
|
url="https://github.com/andersson/$pkgname"
|
|
license=("BSD-3-Clause")
|
|
groups=("qcom-icnss-wlan")
|
|
depends=("qrtr" "libudev.so")
|
|
makedepends=("git" "make" "gcc" "qmic")
|
|
source=("git+https://gitea.classfun.cn:4443/mirrors/rmtfs.git" "udev.rules")
|
|
md5sums=("SKIP" "1e827788992863c3e8562e288f65ee05")
|
|
|
|
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 "$srcdir"/udev.rules "$pkgdir/usr/lib/udev/rules.d/65-$pkgname.rules"
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|