blob: f5412c35ceee8b248114d66a5a89bf826d7d5899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/sh
/usr/bin/pkgmk -o
CUR_DIR=`pwd`
FILE=xmlstarlet
PKG=SFxmlstar
VERSION=`/usr/bin/pkgparam -d /var/spool/pkg SFxmlstar VERSION`
ARCH=`/usr/bin/pkgparam -d /var/spool/pkg SFxmlstar ARCH`
OS=sol9
BASE=local
FULL_FILE=${FILE}-${VERSION}-${OS}-${ARCH}-${BASE}
/usr/bin/pkgtrans -s /var/spool/pkg ${CUR_DIR}/${FULL_FILE} ${PKG}
/usr/bin/gzip ${FULL_FILE}
|