pmaports/modem/tqftpserv/APKBUILD

36 lines
1.4 KiB
Text
Raw Normal View History

# Maintainer: Luca Weiss <luca@z3ntu.xyz>
2020-03-19 15:06:38 +00:00
pkgname=tqftpserv
pkgver=0_git20240423
pkgrel=0
_commit="5f9f263ae291fbbb9fc86756911e4185aa059964"
2020-03-19 15:06:38 +00:00
pkgdesc="Trivial File Transfer Protocol server over AF_QIPCRTR"
url="https://github.com/linux-msm/tqftpserv"
2020-03-19 15:06:38 +00:00
arch="all"
license="BSD-3-Clause"
makedepends="meson qrtr-dev"
source="https://github.com/linux-msm/tqftpserv/archive/$_commit/tqftpserv-$_commit.tar.gz
0001-meson.build-Make-systemd-dep-optional.patch
2020-03-19 15:06:38 +00:00
tqftpserv.initd
"
subpackages="$pkgname-doc $pkgname-openrc"
builddir="$srcdir/tqftpserv-$_commit"
options="!check" # No test suite
build() {
abuild-meson . output
meson compile -C output
2020-03-19 15:06:38 +00:00
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
2020-03-19 15:06:38 +00:00
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
install -Dm755 "$srcdir"/tqftpserv.initd "$pkgdir"/etc/init.d/tqftpserv
}
sha512sums="
69b603691a636ea6203b8aba98b8600b32c89f1e3864710f7b5664ec787509c19dbd46c40a38c49d1f17aa80699ef98acb68d6442c2046b4ed5873ecce468699 tqftpserv-5f9f263ae291fbbb9fc86756911e4185aa059964.tar.gz
501cdbaeb6167ef87b60e891a79229df2756c5e043e064aeba1343a296cdb5f72f5242d9871cc41721f78aa5d32dd3aee20f284bd9f1a57e139e03861109a237 0001-meson.build-Make-systemd-dep-optional.patch
9fde613a1ed53e633ab676e37245d40598deb4b6896c379054389adad5af9f110fcf95871fe31bad3f0ed9321ba3cee8a2160b95e56873719382f81063a85721 tqftpserv.initd
"