aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/createpkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-08-26 15:14:55 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-08-26 15:14:55 +0000
commit5dc3e56994dbc3d9ec72ca849987bb0d10cd7f3b (patch)
tree2f7a252522e9b3b4a39bd6241dfec0cf15cb19ce /trunk/src/createpkg
parent08f52489bae787c8cf33e08bc24a058d76fa0091 (diff)
downloadsimplepkg-5dc3e56994dbc3d9ec72ca849987bb0d10cd7f3b.tar.gz
simplepkg-5dc3e56994dbc3d9ec72ca849987bb0d10cd7f3b.tar.bz2
simplaret: enhanced search_and_process_patch
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@427 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r--trunk/src/createpkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 4508e14..5562f19 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -493,12 +493,15 @@ PKG_NAME="`ls -1 -c $MAKEPKG_REPOS/$PACKAGE-*-*-*.tgz | head -n 1 | xargs basena
[ $MOVE_BIN_PACKAGE -eq $on ] && NEW_REPOS=$MAKEPKG_REPOS/$( echo ${SCRIPT_BASE#$SLACKBUILDS_DIR/} ) || NEW_REPOS=$MAKEPKG_REPOS
# Create repository directory
+# TODO: subversion integration
[ ! -e $NEW_REPOS ] && mkdir -p $NEW_REPOS 2>/dev/null
# Remove old packages from repository tree
+# TODO: subversion integration
[ $REMOVE_OLD_PACKAGE -eq $on ] && rm $NEW_REPOS/$PACKAGE-*-*-*.tgz 2>/dev/null
# Move package and slack-required to SlackBuilds-like tree
+# TODO: subversion integration
[ $MOVE_BIN_PACKAGE -eq $on ] && mv $MAKEPKG_REPOS/$PKG_NAME $NEW_REPOS/
[ ! -z "$SLACK_REQUIRED" ] && cp $SLACK_REQUIRED $NEW_REPOS/$PKG_NAME.slack-required
@@ -510,6 +513,9 @@ if [ "$INSTALL" -eq $on ]; then
upgradepkg --install-new $NEW_REPOS/$PKG_NAME
fi
+# TODO: subversion integration
+# generate or update all metadata
+# svn commit
# Update repository FILELIST.TXT, ...
(
cd $MAKEPKG_REPOS