33 lines
793 B
Bash
33 lines
793 B
Bash
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
|
|
# Maintainer: BigfootACA <bigfoot@classfun.cn>
|
|
|
|
pkgname="tqftpserv"
|
|
pkgdesc="Trivial File Transfer Protocol server over AF_QIPCRTR"
|
|
pkgver=r35.48e143d
|
|
pkgrel=1
|
|
arch=("aarch64")
|
|
url="https://github.com/linux-msm/tqftpserv"
|
|
license=("BSD-3-Clause")
|
|
groups=("qcom-icnss-wlan")
|
|
depends=("qrtr")
|
|
makedepends=("git" "meson" "ninja" "gcc")
|
|
source=("git+https://gitea.classfun.cn:4443/mirrors/tqftpserv.git")
|
|
md5sums=("SKIP")
|
|
|
|
pkgver() {
|
|
cd "$pkgname"
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
build() {
|
|
cd "$pkgname"
|
|
arch-meson . build
|
|
ninja -C build
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname"
|
|
DESTDIR="$pkgdir/" ninja -C build install
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|