fix build

This commit is contained in:
BigfootACA 2024-05-19 18:05:03 +08:00
parent e197243038
commit 97ad6efbaf
2 changed files with 8 additions and 6 deletions

View File

@ -1,13 +1,14 @@
pkgbase = tqftpserv
pkgdesc = Trivial File Transfer Protocol server over AF_QIPCRTR
pkgver = r12.783425b
pkgrel = 2
pkgrel = 3
url = https://github.com/linux-msm/tqftpserv
arch = aarch64
groups = qcom-icnss-wlan
license = BSD-3-Clause
makedepends = git
makedepends = make
makedepends = meson
makedepends = ninja
makedepends = gcc
depends = qrtr
source = git+https://gitea.classfun.cn:4443/mirrors/tqftpserv.git

View File

@ -4,13 +4,13 @@
pkgname="tqftpserv"
pkgdesc="Trivial File Transfer Protocol server over AF_QIPCRTR"
pkgver=r12.783425b
pkgrel=2
pkgrel=3
arch=("aarch64")
url="https://github.com/linux-msm/tqftpserv"
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("qrtr")
makedepends=("git" "make" "gcc")
makedepends=("git" "meson" "ninja" "gcc")
source=("git+https://gitea.classfun.cn:4443/mirrors/tqftpserv.git")
md5sums=("SKIP")
@ -21,11 +21,12 @@ pkgver() {
build() {
cd "$pkgname"
make prefix=/usr
arch-meson . build
ninja -C build
}
package() {
cd "$pkgname"
make prefix=/usr DESTDIR="$pkgdir/" install
DESTDIR="$pkgdir/" ninja -C build install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}