aboutsummaryrefslogtreecommitdiff
path: root/simplepkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'simplepkg.SlackBuild')
-rwxr-xr-xsimplepkg.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/simplepkg.SlackBuild b/simplepkg.SlackBuild
index 26a2d5a..7f435b2 100755
--- a/simplepkg.SlackBuild
+++ b/simplepkg.SlackBuild
@@ -6,7 +6,7 @@
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
BUILD="1rha"
-VERSION="0.4.9pre1"
+VERSION="0.4.9pre2"
ARCH="noarch"
LIBEXEC="/usr/libexec/$PACKAGE"
@@ -18,24 +18,24 @@ DOC_LIST="COPYING TODO CHANGELOG README README.pt_BR README.simplaret README.sim
rm -rf $PACK_DIR
mkdir -p $PACK_DIR/install
-cp slack-desc $PACK_DIR/install
-cp doinst.sh $PACK_DIR/install
+cp install/slack-desc $PACK_DIR/install
+cp install/doinst.sh $PACK_DIR/install
mkdir -p $PACK_DIR/$BINDIR
for binary in $BINARY_LIST; do
- chmod +x $binary
- cp $binary $PACK_DIR/$BINDIR
+ cp src/$binary $PACK_DIR/$BINDIR
+ chmod +x $PACK_DIR/$BINDIR/$binary
done
mkdir -p $PACK_DIR/$LIBEXEC
for lib in $LIB_LIST; do
- cp $lib $PACK_DIR/$LIBEXEC/
+ cp lib/$lib $PACK_DIR/$LIBEXEC/
done
rm -rf $PACK_DIR/$DOC_DIR
mkdir -p $PACK_DIR/$DOC_DIR/$PACKAGE-$VERSION
for file in $DOC_LIST; do
- cp $file $PACK_DIR/$DOC_DIR/$PACKAGE-$VERSION/
+ cp doc/$file $PACK_DIR/$DOC_DIR/$PACKAGE-$VERSION/
done
# especifico do simplepkg
@@ -43,8 +43,8 @@ mkdir -p $PACK_DIR/etc/$PACKAGE/
rsync -av --exclude=.svn templates/* $PACK_DIR/etc/$PACKAGE/
chmod +x $PACK_DIR/etc/$PACKAGE/vserver.s/*.sh
chmod +x $PACK_DIR/etc/$PACKAGE/vserver-legacy.s/*.sh
-cp simplepkg.conf.new $PACK_DIR/etc/$PACKAGE
-cp repos.conf.new $PACK_DIR/etc/$PACKAGE
+cp conf/simplepkg.conf.new $PACK_DIR/etc/$PACKAGE
+cp conf/repos.conf.new $PACK_DIR/etc/$PACKAGE
cd $PACK_DIR/usr/sbin && ln -s jail-upgrade vserver-upgrade
cd -