pkg-rmtfs/PKGBUILD

33 lines
909 B
Bash
Raw Normal View History

2023-12-14 15:14:38 +08:00
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
# Maintainer: BigfootACA <bigfoot@classfun.cn>
pkgname="rmtfs"
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
2024-09-19 20:00:50 +08:00
pkgver=r64.33e1e40
pkgrel=1
2023-12-14 15:14:38 +08:00
arch=("aarch64")
2023-12-21 16:23:26 +08:00
url="https://github.com/andersson/$pkgname"
2023-12-14 15:14:38 +08:00
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("qrtr" "libudev.so")
2023-12-21 16:27:29 +08:00
makedepends=("git" "make" "gcc" "qmic")
2024-05-19 17:57:30 +08:00
source=("git+https://gitea.classfun.cn:4443/mirrors/rmtfs.git" "udev.rules")
2023-12-14 15:14:38 +08:00
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
}