summaryrefslogtreecommitdiff
path: root/scripts/universal-ctags.sh
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-01-10 12:12:35 +0100
committerEugen Wissner <belka@caraus.de>2021-01-10 12:12:35 +0100
commitc246444f8d1a93b1c055159ad32911e8240cda80 (patch)
treed4374ad116db305f3126e8aba37e0847df0895c0 /scripts/universal-ctags.sh
parente8831550a2226e35f9b9049187c89d58869f6a48 (diff)
downloadslackbuilder-c246444f8d1a93b1c055159ad32911e8240cda80.tar.gz
Migrate universal-ctags script completely
Diffstat (limited to 'scripts/universal-ctags.sh')
-rwxr-xr-xscripts/universal-ctags.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/scripts/universal-ctags.sh b/scripts/universal-ctags.sh
deleted file mode 100755
index 234d5c9..0000000
--- a/scripts/universal-ctags.sh
+++ /dev/null
@@ -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"