Fix version numbering, remove patch

This commit is contained in:
Tom Willemse 2015-01-03 16:46:27 +01:00
parent 8cb9f192d3
commit 2d0e70211d

View file

@ -7,7 +7,7 @@
_opt_puresize="1820000"
pkgname=emacs-git
pkgver=20141016
pkgver=20141227214603
pkgrel=1
pkgdesc='The extensible, customizable, self-documenting real-time display editor from its official Git repository'
arch=('i686' 'x86_64')
@ -26,8 +26,9 @@ source=("git+http://git.savannah.gnu.org/r/emacs.git"
_mandir=/usr/share/man
pkgver() {
cd "$srcdir"/"$_name"
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
cd "$srcdir"/emacs
git log -1 --pretty=format:"%ci" --date=short \
| awk '{print $1$2}' | sed 's/[-:]//g'
}
build() {
@ -50,7 +51,7 @@ build() {
--without-gconf \
--without-gsettings \
--with-x-toolkit=lucid || return 1
patch -p0 -i "$srcdir"/docstrings2.patch || return 1
# patch -p0 -i "$srcdir"/docstrings2.patch || return 1
make bootstrap
}