38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'neard'
|
|
pkgname=neard
|
|
version=0.18
|
|
revision=2
|
|
build_style=gnu-configure
|
|
# TODO: add '--enable-test' when updated from python2 & gtk+2
|
|
configure_args="--disable-systemd --enable-ese --enable-tools"
|
|
hostmakedepends="autoconf autoconf-archive automake libtool pkg-config"
|
|
makedepends="glib-devel libnl-devel"
|
|
depends="dbus"
|
|
short_desc="Near Field Communication (NFC) manager"
|
|
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://github.com/linux-nfc/neard"
|
|
distfiles="https://github.com/linux-nfc/neard/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=c013e3115315e2e11d16b5f0f1c8ce9afbcdba26800aad91245fd9b4a5dc938b
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vsv neard
|
|
vsv seeld
|
|
}
|
|
|
|
neard-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
# correct neard version.h install path
|
|
mv ${PKGDESTDIR}/usr/include/version.h \
|
|
${PKGDESTDIR}/usr/include/near
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|