summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro A. López-Valencia2019-07-25 07:45:19 -0500
committerPedro A. López-Valencia2019-07-25 07:45:19 -0500
commiteedab6bddf704fb9f1fddcae35545031761ad4ca (patch)
tree5b4a820e303a16efc77a842fd5721a95a0dbc0e3
parentf55ae283ca32aeb3e12b2abd0ef01c811c45586c (diff)
downloadaur-eedab6bddf704fb9f1fddcae35545031761ad4ca.tar.gz
More emacs 26 drop cleanup.
-rw-r--r--PKGBUILD12
1 files changed, 0 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 02f4f4468609..7aef825021fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -138,7 +138,6 @@ md5sums=('SKIP')
#source=("emacs-git::git://git.sv.gnu.org/emacs.git#branch=$BRANCH")
#source=("emacs-git::git+https://git.savannah.gnu.org/emacs.git#branch=$BRANCH")
-if [[ $BRANCH = "master" ]]; then
pkgver() {
cd "$srcdir/emacs-git"
@@ -147,17 +146,6 @@ if [[ $BRANCH = "master" ]]; then
sed -e 's/^.\+\ \([0-9]\+\.[0-9]\+\.[0-9]\+\?\).\+$/\1/')" \
"$(git rev-list --count HEAD)"
}
-else
- pkgver() {
- cd "$srcdir/emacs-git"
-
- printf "%s.%s" \
- "$(grep AC_INIT configure.ac | \
- awk '{split($0,a,","); print a[2]}' | \
- sed -e 's/\ //g' )" \
- "$(git rev-list --count HEAD)"
- }
-fi
# There is no need to run autogen.sh after first checkout.
# Doing so, breaks incremental compilation.