summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 79b3e40cc1df030a88ffb405b76161e25d944e3b (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
# Maintainer: Donald Webster <fryfrog@gmail.com>
# Maintainer: Justin Gottula <justin@jgottula.com>

pkgname=wsdd
pkgver=0.8
pkgrel=1
pkgdesc="A Web Service Discovery (WSD) host daemon for SMB/Samba."
arch=('any')
url="https://github.com/christgau/wsdd"
license=('MIT')

depends=('python>=3.7' 'samba')

backup=('etc/conf.d/wsdd')

source=("wsdd-${pkgver}.tar.gz::https://github.com/christgau/wsdd/archive/v${pkgver}.tar.gz"
        'wsdd.service'
        'wsdd.conf')

sha256sums=('175b997518073ea82c95dadea50a0f01ffa4ff292cbb84b5e64f82e7e6c94fc9'
            '8f4326841b5ba899752ba30554fcc5ea4b2353dadb951535fd62e234fb1f5009'
            '7330cfb5cabbc7f3116781baa0f92c8bb4ac86a20f22edef5c5d98997f253c08')

package() {
  install -D -m 755 "${srcdir}/${pkgname}-${pkgver}/src/wsdd.py" "${pkgdir}/usr/bin/wsdd"
  install -D -m 644 "${srcdir}/${pkgname}-${pkgver}/man/wsdd.8" "${pkgdir}/usr/share/man/man8/wsdd.8"
  install -D -m 644 "${srcdir}/wsdd.conf" "${pkgdir}/etc/conf.d/wsdd"
  install -D -m 644 "${srcdir}/wsdd.service" "${pkgdir}/usr/lib/systemd/system/wsdd.service"
}