Migrate universal-ctags script completely
This commit is contained in:
@ -1,37 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
set -e
|
||||
|
||||
cat <<EOF > universal-ctags.info
|
||||
PRGNAM="universal-ctags"
|
||||
VERSION="$HASH"
|
||||
HOMEPAGE="https://ctags.io/"
|
||||
DOWNLOAD="https://download.dlackware.com/hosted-sources/universal-ctags/ctags-$COMMIT.tar.xz"
|
||||
MD5SUM="$CHECKSUM"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="%README%"
|
||||
MAINTAINER="Eugene Wissner"
|
||||
EMAIL="belka@caraus.de"
|
||||
EOF
|
||||
|
||||
rm -f slackbuilds/development/universal-ctags/*.tar.xz
|
||||
mv \
|
||||
universal-ctags.info \
|
||||
ctags-$COMMIT.tar.xz \
|
||||
slackbuilds/development/universal-ctags/
|
||||
cd slackbuilds/development/universal-ctags
|
||||
|
||||
# Update version in the SlackBuild.
|
||||
sed -i "s#^\(VERSION=\)\${VERSION:-.\+#\1\${VERSION:-$HASH}#" universal-ctags.SlackBuild
|
||||
sed -i "s#^\(GITVERSION=\)\${GITVERSION:-.\+#\1\${GITVERSION:-$COMMIT}#" universal-ctags.SlackBuild
|
||||
|
||||
# Commit.
|
||||
git checkout master
|
||||
#git checkout -b ctags$HASH
|
||||
git add .
|
||||
git commit -m "development/universal-ctags: Updated for version $HASH"
|
Reference in New Issue
Block a user