diff options
author | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 22:11:49 +0100 |
---|---|---|
committer | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 22:11:49 +0100 |
commit | 5a9ea28265502ee00d6e69796678ee0216d8dabd (patch) | |
tree | d87279f52b967964ab41083ae2872f49a8941d9a | |
parent | 47e6e460d1003736a9414b3f91c6e57f57d2c7e5 (diff) | |
download | archlinuxewe-5a9ea28265502ee00d6e69796678ee0216d8dabd.tar.xz |
wsdd2 new
-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}" +} |