puppylinux-woof-CE / petbuilds

recipes for pet package building
GNU General Public License v2.0
12 stars 12 forks source link

Make petbuild build CRUX Pkgfiles.. maybe others #32

Open sc0ttj opened 3 years ago

sc0ttj commented 3 years ago

I meant to share this here earlier:

With these scripts, I successfully automated the compiling and packaging of various programs, using CRUX build scripts (the "Pkgfiles") or Arch Linux PKGBUILD scripts.

... Both distros have a bunch of build scripts we can pilfer.

So.. Can we please do something like this in petbuild:


case $filename in 

  *.petbuild)         // the usual ;;

  */arch/*PKGBUILD)   // run arch PKGBUILD compiler routine ;;

  */crux/*Pkgfile)   // run CRUX Pkgfile compiler routine ;;

  *.slackbuild)      // run SBoPkg or a slackbuild (or whatever) ;;

esac