summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/emacs-git/PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/pcr/emacs-git/PKGBUILD b/pcr/emacs-git/PKGBUILD
index 85a73e0b0..3354dd2d9 100644
--- a/pcr/emacs-git/PKGBUILD
+++ b/pcr/emacs-git/PKGBUILD
@@ -1,4 +1,4 @@
-# See AUR interface for current maintainer.
+# Maintainer (Arch): See AUR interface for current maintainer.
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
#
# TIP: Don't run this on a tmpfs unless you have oodles of RAM.
@@ -7,9 +7,9 @@
#
pkgname=emacs-git
-pkgver=25.0.50.r122501
+pkgver=25.1.50.r123464
pkgrel=1
-pkgdesc="GNU Emacs. Official git trunk."
+pkgdesc="GNU Emacs. Master development branch."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/emacs/"
license=('GPL')
@@ -42,18 +42,20 @@ prepare() {
build() {
cd "$srcdir/$pkgname"
- ac_cv_lib_gif_EGifPutExtensionLast=yes \
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --pdfdir=/usr/share/doc/emacs/pdf \
- --with-sound=alsa \
- --without-gconf \
- --with-x-toolkit=gtk3 \
- --with-xft
+
+ local _conf=(
+ --prefix=/usr
+ --sysconfdir=/etc
+ --libexecdir=/usr/lib
+ --localstatedir=/var
+ --mandir=/usr/share/man
+ --pdfdir=/usr/share/doc/emacs/pdf
+ --with-sound=alsa
+ --without-gconf
+ --with-x-toolkit=gtk3
+ --with-xft)
+
+ ./configure ${_conf[@]}
# Using "make" instead of "make bootstrap" makes incremental
# compiling work. Less time recompiling. Yay! But if you may
@@ -90,9 +92,9 @@ package() {
find "$pkgdir"/usr/share/emacs/ | xargs chown root:root
# fix permssions on /var/games
+ mkdir -p "$pkgdir"/var/games/emacs
chmod 775 "$pkgdir"/var/games
chmod 775 "$pkgdir"/var/games/emacs
- chmod 664 "$pkgdir"/var/games/emacs/*
chown -R root:games "$pkgdir"/var/games
}