summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2021-08-22 12:55:31 +0200
committer Willy Sudiarto Raharjo2021-08-25 07:11:40 +0200
commit22432c01036b070c8dc69ab9670ab4677b5c0714 (patch)
treecff8192bb1408efd2c5ad89aa286ec1309bb60ad
parent8dbf487f7f6c9f4ccd68d31077f391e408477ed9 (diff)
downloadslackbuilds-22432c01036b070c8dc69ab9670ab4677b5c0714.tar.gz
python/pysed: Fix DOWNLOAD.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/pysed/doinst.sh3
-rw-r--r--python/pysed/pysed.SlackBuild5
-rw-r--r--python/pysed/pysed.info6
-rw-r--r--python/pysed/slack-desc2
4 files changed, 6 insertions, 10 deletions
diff --git a/python/pysed/doinst.sh b/python/pysed/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/python/pysed/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/python/pysed/pysed.SlackBuild b/python/pysed/pysed.SlackBuild
index 7073d31469..626ae51454 100644
--- a/python/pysed/pysed.SlackBuild
+++ b/python/pysed/pysed.SlackBuild
@@ -70,8 +70,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION-dad63a5e14658a853f88b866e466beaf49a16aff.tar.gz
+cd $PRGNAM-v$VERSION-dad63a5e14658a853f88b866e466beaf49a16aff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -98,7 +98,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/python/pysed/pysed.info b/python/pysed/pysed.info
index c66db8532e..62612f0d0b 100644
--- a/python/pysed/pysed.info
+++ b/python/pysed/pysed.info
@@ -1,8 +1,8 @@
PRGNAM="pysed"
VERSION="0.7.8"
-HOMEPAGE="https://github.com/dslackw/pysed"
-DOWNLOAD="https://github.com/dslackw/pysed/archive/v0.7.8.tar.gz"
-MD5SUM="ae638228eb1f101beca70b397e6e4ed7"
+HOMEPAGE="https://gitlab.com/dslackw/pysed"
+DOWNLOAD="https://gitlab.com/dslackw/pysed/-/archive/v0.7.8/pysed-v0.7.8-dad63a5e14658a853f88b866e466beaf49a16aff.tar.gz"
+MD5SUM="75ddf3bf1adf62a52b0de4e8f0710f12"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/python/pysed/slack-desc b/python/pysed/slack-desc
index e3dd50873b..2304e5b00c 100644
--- a/python/pysed/slack-desc
+++ b/python/pysed/slack-desc
@@ -13,7 +13,7 @@ pysed: transformations from a file or from pipeline. It reads text,
pysed: line by line, from a file and replace, insert or print all
pysed: text or specific area.
pysed:
-pysed: Homepage: https://github.com/dslackw/pysed
+pysed: Homepage: https://gitlab.com/dslackw/pysed
pysed:
pysed:
pysed: