blob: 89d395bfcba767715890c6afa35046347013e6ce (
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
34
|
# Contributor: Nathan Caldwell <saintdev@gmail.com>
# Maintainer: Nathan Caldwell <saintdev@gmail.com>
pkgname=llmnrd
pkgver=0.5
pkgrel=0
pkgdesc="Link-Local Multicast Resolution (LLMNR) Daemon for Linux"
url="https://github.com/tklauser/llmnrd"
arch="all"
license="GPL-2.0-only"
depends=""
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
"
builddir="$srcdir/llmnrd-$pkgver"
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
make prefix=/usr DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
}
sha512sums="e7d179bf7c0417974e39c225957f17d57a4bb00fcc74d0e3c66a05b9da2f88928f2867624b9f9193a4438be4d658bfe8474fd7fa637feaa5a406df5f98e8074e llmnrd-0.5.tar.bz2
393643c9a051aeb3ba283bfe2845c0480b0eba93ef89705ef9e3162a7ecff37d1733ab16482b6be09d89eed263a9c83323762c6dbc573b7a94c8a7cbfd1d10ef llmnrd.initd"
|