pkg-tqftpserv/PKGBUILD

33 lines
793 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="tqftpserv"
pkgdesc="Trivial File Transfer Protocol server over AF_QIPCRTR"
2024-09-19 19:59:05 +08:00
pkgver=r35.48e143d
pkgrel=1
2023-12-14 15:14:38 +08:00
arch=("aarch64")
2024-05-19 18:02:18 +08:00
url="https://github.com/linux-msm/tqftpserv"
2023-12-14 15:14:38 +08:00
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("qrtr")
2024-05-19 18:05:03 +08:00
makedepends=("git" "meson" "ninja" "gcc")
2024-05-19 18:02:18 +08:00
source=("git+https://gitea.classfun.cn:4443/mirrors/tqftpserv.git")
2023-12-14 15:14:38 +08:00
md5sums=("SKIP")
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
2024-05-19 18:05:03 +08:00
arch-meson . build
ninja -C build
2023-12-14 15:14:38 +08:00
}
package() {
cd "$pkgname"
2024-05-19 18:05:03 +08:00
DESTDIR="$pkgdir/" ninja -C build install
2023-12-14 15:14:38 +08:00
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}