PKGBUILDs/aur/rmtfs-git/PKGBUILD

39 lines
912 B
Bash
Raw Normal View History

2021-12-11 02:38:54 +00:00
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
buildarch=8
_pkgname="rmtfs"
pkgname="$_pkgname-git"
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
pkgver=r57.b08ef6f
pkgrel=1
arch=("aarch64")
url="https://github.com/andersson/$_pkgname"
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("qrtr" "systemd")
makedepends=("git" "make" "gcc")
provides=("$_pkgname")
source=("git+https://github.com/andersson/$_pkgname" "udev.rules")
2021-12-11 02:38:54 +00: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/COPYING
}