From 9409cc9282b4d23fc8a1071c8c93c4ce285e2a9d Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Thu, 15 Apr 2004 08:51:49 +0000 Subject: [PATCH] Add a template for the pkgdef file and make sure newpkg places a copy in the new metadir --- newpkg | 4 ++++ pkgdef.template | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 pkgdef.template diff --git a/newpkg b/newpkg index efe8210..b87258d 100644 --- a/newpkg +++ b/newpkg @@ -28,3 +28,7 @@ if [ "$($UNAME -s)" == "IRIX" ]; then $SED -e 's/bin\/bash/usr\/local\/bin\/bash/g' $arg1/build.sh > $arg1/build.sh.tmp $MV $arg1/build.sh.tmp $arg1/build.sh fi + +if [ "$($UNAME -s)" == "SunOS" ]; then + cp scripts/pkgdef.template $arg1/meta/pkgdef +fi diff --git a/pkgdef.template b/pkgdef.template new file mode 100644 index 0000000..a7d6482 --- /dev/null +++ b/pkgdef.template @@ -0,0 +1,10 @@ +[main] +pkgname="$pkgprefix""$topdir" +name="$topdir" +pkgcat="application" +pkgvendor="http://change.me/please" +pkgdesc="mumble mubmle... hmm someone forgot to fill this out!" +pkgver="$pkgver" +files(-,root,bin) +$_bindir +$_libdir