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"
|
|
|
|
pkgver=r12.783425b
|
|
|
|
pkgrel=1
|
|
|
|
arch=("aarch64")
|
2023-12-21 16:31:33 +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")
|
|
|
|
makedepends=("git" "make" "gcc")
|
|
|
|
source=("git+$url")
|
|
|
|
md5sums=("SKIP")
|
|
|
|
|
|
|
|
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 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
|
|
}
|