blob: ef8a1b523176a090263c6ae0e76a1aeae693d52f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Nathan Caldwell <saintdev@gmail.com>
# Maintainer: Nathan Caldwell <saintdev@gmail.com>
pkgname=llmnrd
pkgver=0.6
pkgrel=0
pkgdesc="Link-Local Multicast Resolution (LLMNR) Daemon for Linux"
url="https://github.com/tklauser/llmnrd"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers"
subpackages="$pkgname-doc $pkgname-openrc"
# llmnrd has no test suite
options="!check"
source="https://github.com/tklauser/llmnrd/releases/download/v$pkgver/llmnrd-$pkgver.tar.bz2
llmnrd.initd
llmnrd.confd"
build() {
make
}
package() {
make prefix=/usr DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname
}
sha512sums="855fc1bda87bfa35ffb8d04e3d3851282668cd334a59923bdeec73e19f87b7c94cc4e14d9e3fa70e9b95a6d9749d4521b5ca657e17263b03bc25375137723cec llmnrd-0.6.tar.bz2
10466be3e64d69999db9f026640ae44a86f0bcfa8e2fd2e07292cc9bb7c5aa6877f71338b4b0532e7a5415a6e1473252943e407cf2cc78ba4b3efd860bc75435 llmnrd.initd
a99c34e6c67f47adbaa828378e257c28b40882be9e113dc3ec9bd6ab7b65c9440881665c9d0331117eef31bcec5e22c4d2fdd91cbaf3d079acc38b345469c9f5 llmnrd.confd"
|