Add a template for the pkgdef file and make sure newpkg places a copy in
the new metadir
This commit is contained in:
parent
d15a078371
commit
9409cc9282
4
newpkg
4
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
|
||||
|
10
pkgdef.template
Normal file
10
pkgdef.template
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user