95 |
[ -z ${SMAGEFILE} ] && die "No smage file given." |
[ -z ${SMAGEFILE} ] && die "No smage file given." |
96 |
[ -e ${SMAGEFILE} ] || die "Smage file '${SMAGEFILE}' does not exist." |
[ -e ${SMAGEFILE} ] || die "Smage file '${SMAGEFILE}' does not exist." |
97 |
|
|
98 |
PKGNAME="${PNAME}-${PVER}-${PBUILD}" |
# load mage-features |
99 |
ARCHPKGNAME="${PNAME}-${PVER}-${ARCH}$(distrotag)-${PBUILD}" |
load_mage_features |
100 |
|
|
101 |
if [[ -n ${PKGTARBALL} ]] |
if [[ -n ${PKGTARBALL} ]] |
102 |
then |
then |
118 |
# get generic package information from smage file |
# get generic package information from smage file |
119 |
smagesource ${SMAGEFILE} |
smagesource ${SMAGEFILE} |
120 |
|
|
121 |
|
PKGNAME="${PNAME}-${PVER}-${PBUILD}" |
122 |
|
ARCHPKGNAME="${PNAME}-${PVER}-${ARCH}$(print_distrotag)-${PBUILD}" |
123 |
|
|
124 |
# set the right meta-location |
# set the right meta-location |
125 |
[[ ! -d ${METADIR} ]] && install -d ${METADIR} |
[[ ! -d ${METADIR} ]] && install -d ${METADIR} |
126 |
METAFILE="${METADIR}/${ARCHPKGNAME}.${METASUFFIX}" |
METAFILE="${METADIR}/${ARCHPKGNAME}.${METASUFFIX}" |