summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3cd465f5a48749a72d27b7c0f9d73e4a3c2d511 (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
pkgname=wsdd2
pkgver=1.8.6
pkgrel=3
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=('707f9403559de70cc488c6c3deea12baf30d74068da88a59e7c0669a347b4661')

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}"
}