diff options
Diffstat (limited to 'wsdd2')
-rw-r--r-- | wsdd2/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/wsdd2/PKGBUILD b/wsdd2/PKGBUILD new file mode 100644 index 000000000..b67755c8d --- /dev/null +++ b/wsdd2/PKGBUILD @@ -0,0 +1,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}" +} |