blob: b67755c8ddc39eae67b10857802b02012e54a9c0 (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=wsdd2
pkgver=1.8.7
pkgrel=1
pkgdesc="WSD/LLMNR Discovery/Name Service Daemon. Install it to make Samba shares discoverable on Windows hosts."
url="https://github.com/Netgear/wsdd2"
arch=('x86_64' 'armv7h' 'aarch64')
license=(GPL)
depends=('samba')
source=(
"wsdd2-${pkgver}.tar.gz::https://github.com/Netgear/wsdd2/archive/${pkgver}.tar.gz"
)
sha256sums=('b0b6b31522f4a5e39d075b31d59d57af9a567f543e0b39b2fbdfec324d30310a')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i s/smbd/smb/ wsdd2.service
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
}
package()
{
cd "${srcdir}/${pkgname}-${pkgver}"
make install SBINDIR=/usr/bin DESTDIR="${pkgdir}"
}
|