Browse Source

l/lurch: Upgraded to lurch-0.6.8.

slackware-14.2
Damien Goutte-Gattat 2 years ago
parent
commit
57dc3c0fc7
2 changed files with 9 additions and 12 deletions
  1. +1
    -0
      l/lurch/lurch-0.6.8-src.tar.gz.sha256
  2. +8
    -12
      l/lurch/lurch.SlackBuild

+ 1
- 0
l/lurch/lurch-0.6.8-src.tar.gz.sha256 View File

@ -0,0 +1 @@
2e2447b5fe6b1ae4f08d8c79a2a846c70290685d6e338bf5ea8f59705bd2b19f lurch-0.6.8-src.tar.gz

+ 8
- 12
l/lurch/lurch.SlackBuild View File

@ -28,9 +28,9 @@
# Source package infos
NAMESRC=${NAMESRC:-lurch}
VERSION=${VERSION:-0.6.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
REPO=${REPO:-https://github.com/gkdr/lurch.git}
VERSION=${VERSION:-0.6.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-src.tar.gz}
WGET=${WGET:-https://github.com/gkdr/lurch/releases/download/v$VERSION/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-lurch}
@ -59,17 +59,13 @@ if [ ! -d $TMP ]; then
exit 1
fi
# Get the source
NAME=$NAMESRC-$VERSION
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
git clone $REPO $NAME
cd $NAME
git submodule update --init --recursive
git checkout v$VERSION
cd ..
tar zcf $NAME.tar.gz $NAME
rm -rf $NAME
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP


Loading…
Cancel
Save