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

View File

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