summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c6941ef8ea25b33ec53433b8f94f3c3346cc11d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=guile-emacs-git
pkgver=116892.41120e0
pkgrel=3
pkgdesc="branch of GNU Emacs that replaces Emacs' own EmacsLisp engine with that of Guile."
arch=('i686' 'x86_64')
url="http://www.emacswiki.org/emacs/GuileEmacs"
license=('GPL3')
depends=('librsvg' 'guile4emacs-git' 'giflib' 'gtk3' 'alsa-lib' 'imagemagick' 'gconf' 'gpm' 'm17n-lib' 'desktop-file-utils')
makedepends=('git')
conflicts=('emacs' 'ctags')
provides=('emacs' 'ctags')
options=('!strip' '!makeflags')
source=("guilemacs::git://git.hcoop.net/git/bpt/emacs.git#branch=wip")
md5sums=('SKIP')
_gitname="guilemacs"

pkgver() {
  cd "$srcdir"/"$_gitname"
  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir"/"$_gitname"
  ./autogen.sh 
  ./configure --prefix=/usr \
	      --localstatedir=/var \
	      --libexecdir=/usr/lib \
	      --with-jpeg=no
  make 
}

package() {
  cd $srcdir/guilemacs
  make DESTDIR="$pkgdir/" install
  chown -R root:root $pkgdir/usr
   # remove conflict with the texinfo-package
  rm $pkgdir/usr/share/info/info.info.gz
}