blob: dfb4606215ccb243de955dedaa511b3b5cf8e8cb (
plain)
1 # Description: A Web Service Discovery host daemon.
2 # URL: https://github.com/christgau/wsdd
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=wsdd
6 version=0.7.0
7 release=1
8 source=(https://github.com/christgau/wsdd/archive/v$version/$name-$version.tar.gz
9 wsdd.rc)
10
11 build() {
12 cd $name-$version
13 install -D -m 0755 src/wsdd.py $PKG/usr/sbin/wsdd
14 install -D -m 0644 man/wsdd.1 $PKG/usr/share/man/man1/wsdd.1
15
16 # service
17 install -D -m 0755 $SRC/wsdd.rc $PKG/etc/rc.d/wsdd
18
19 # pid
20 install -d $PKG/run/wsdd
21
22 # chroot
23 install -d $PKG/var/lib
24 install -d -m 0755 -o nobody -g nobody $PKG/var/lib/wsdd
25
26 # log
27 install -d $PKG/var/log
28 }
|