crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

Pkgfile (573B)


      1 # Description: Control the creation and termination of system-level processes
      2 # URL: https://man7.org/linux/man-pages/man8/start-stop-daemon.8.html
      3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com
      4 
      5 name=start-stop-daemon
      6 version=20221219
      7 release=1
      8 source=(start-stop-daemon.c start-stop-daemon.pod crux-patch.diff makefile)
      9 
     10 build () {
     11 	patch -p1 -i crux-patch.diff
     12 	sed -i '/# define HAVE_ERROR_H/d' start-stop-daemon.c
     13 	make
     14 	install -d $PKG/{sbin,usr/share/man/man8}
     15 	install -m 755 $name $PKG/sbin/
     16 	install -m 644 $name.8 $PKG/usr/share/man/man8/
     17 }