... # source: http://ftp.gnu.org/non-gnu/cvs/source/feature/ VERSION=1.12.13 TMPBUILD=$BUILD/cvs-${VERSION} ... doPackage() { cd $TMPBUILD clean_dst $PROTO make install DESTDIR=$PROTO infodir=/usr/share/info mandir=/usr/share/man ... cat ${SDIR}/postinstall >${TMPBUILD}/postinstall.lnf ${SCRIPTDIR}/gzipmans $PROTO/usr/share/info ${SCRIPTDIR}/createAddInfo cvs.info.gz cvsclient.info.gz \ >>${TMPBUILD}/postinstall.lnf ${SCRIPTDIR}/createRemoveInfo cvs.info.gz cvsclient.info.gz \ >${TMPBUILD}/postremove.lnf pkginfo2arch cat<${TMPBUILD}/prototype.lnf i pkginfo=${TMPBUILD}/pkginfo.lnf i depend=${SDIR}/depend i preinstall=${TMPBUILD}/postremove.lnf i postinstall=${TMPBUILD}/postinstall.lnf i postremove=${TMPBUILD}/postremove.lnf f none share/cvs/contrib/cvs.xml=${SDIR}/cvs.xml 0644 bin bin EOF ... }