testing/libnfcdef: new aport

https://github.com/sailfishos/libnfcdef
Library for parsing and building NFC Data Exchange Format (NDEF) messages

Dependency of nfcd
This commit is contained in:
fossdd 2025-02-12 18:39:01 +01:00 committed by omni
parent 4a0c81051c
commit 968eadfe0c

View File

@ -0,0 +1,30 @@
maintainer="fossdd <fossdd@pwned.life>"
pkgname=libnfcdef
pkgver=1.0.1
pkgrel=0
pkgdesc="Library for parsing and building NFC Data Exchange Format (NDEF) messages"
url="https://github.com/sailfishos/libnfcdef"
arch="all"
license="BSD-3-Clause"
makedepends="
glib-dev
libglibutil-dev
"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sailfishos/libnfcdef/archive/refs/tags/$pkgver.tar.gz"
build() {
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install install-dev
}
sha512sums="
827b4c639da6e3c3aa0e779245c0f6137f4974f90f044bbcb0a89ff5e32bcc94b41ef6ce20e2ce103ce91cba7756766bbe27a01b294422c49551947588de21ac libnfcdef-1.0.1.tar.gz
"