summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cea2e06a1dd5..5f886f8b45e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,7 +44,7 @@ NOGZ="YES" # Don't compress el files. Info and man pages are
#######################################################################
pkgname=emacs-git-shallow
pkgver=26.0.50.1
-pkgrel=1
+pkgrel=2
pkgdesc="GNU Emacs [master] (shallow clone [20% disk space])"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/emacs/"
@@ -138,7 +138,10 @@ pkgver() {
# Doing so, breaks incremental compilation.
prepare() {
cd "$srcdir"
+
+ rm -rf $pkgname
git clone --depth=1 https://github.com/emacs-mirror/emacs.git $pkgname
+
cd "$pkgname"
[[ -x configure ]] || ( ./autogen.sh git && ./autogen.sh autoconf )