diff options
-rw-r--r-- | development/src-vcs/slack-desc | 2 | ||||
-rw-r--r-- | development/src-vcs/src-vcs.SlackBuild | 21 | ||||
-rw-r--r-- | development/src-vcs/src-vcs.info | 8 |
3 files changed, 20 insertions, 11 deletions
diff --git a/development/src-vcs/slack-desc b/development/src-vcs/slack-desc index 68fe6eea80..f8e8ab4f82 100644 --- a/development/src-vcs/slack-desc +++ b/development/src-vcs/slack-desc @@ -15,5 +15,5 @@ src-vcs: src-vcs: src-vcs: src-vcs: -src-vcs: https://gitorious.org/src-vcs +src-vcs: http://www.catb.org/~esr/src/ src-vcs: diff --git a/development/src-vcs/src-vcs.SlackBuild b/development/src-vcs/src-vcs.SlackBuild index f1eca3d11f..2c556639b3 100644 --- a/development/src-vcs/src-vcs.SlackBuild +++ b/development/src-vcs/src-vcs.SlackBuild @@ -21,8 +21,8 @@ # <http://www.gnu.org/licenses/>. PRGNAM=src-vcs -VERSION=${VERSION:-0.18} -SRCVERSION=a6ee7f329ef9f9cdafba1f5b39492094080926f3 +SRCNAM=src +VERSION=${VERSION:-0.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,6 +39,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +DOCS="COPYING FAQ.asc INSTALL NEWS README TODO src.asc srctest" + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -57,9 +59,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$PRGNAM -tar xvf $CWD/$SRCVERSION.tar.gz -cd $PRGNAM-$PRGNAM +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make \ OPTS="$SLKCFLAGS" \ @@ -79,7 +87,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION +cp -ar $DOCS \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/src-vcs/src-vcs.info b/development/src-vcs/src-vcs.info index 7e3d4630f0..5a54ea1087 100644 --- a/development/src-vcs/src-vcs.info +++ b/development/src-vcs/src-vcs.info @@ -1,8 +1,8 @@ PRGNAM="src-vcs" -VERSION="0.18" -HOMEPAGE="https://gitorious.org/src-vcs/src-vcs" -DOWNLOAD="https://gitorious.org/src-vcs/src-vcs/archive/a6ee7f329ef9f9cdafba1f5b39492094080926f3.tar.gz" -MD5SUM="b30575858521a3299b6d020f041c0320" +VERSION="0.19" +HOMEPAGE="http://www.catb.org/~esr/src/" +DOWNLOAD="http://www.catb.org/~esr/src/src-0.19.tar.gz" +MD5SUM="7f567b2e378f882023a8fdc11c9da4bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |