updated on Fri Jan 13 08:00:32 UTC 2012
[aur-mirror.git] / emacs-nogconf / PKGBUILD
blobb8bab44c49049dbe9fe93448935f72cba12c1e35
1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Your Name <youremail@domain.com>
7 pkgname=emacs-nogconf
8 pkgver=23.2
9 pkgrel=1
10 pkgdesc="Emacs without gconf"
11 arch=('i686' 'x86_64')
12 url="http://ftp.gnu.org/pub/gnu/emacs/"
13 license=('GPL3')
14 groups=()
15 depends=('libpng' 'libtiff' 'librsvg' 'giflib' 'gtk2' 'libxpm' 'libjpeg>=7' 'hicolor-icon-theme')
16 makedepends=('pkgconfig' 'texinfo' 'gpm')
17 optdepends=()
18 provides=('emacs=$pkgver')
19 conflicts=('emacs' 'emacs-nox' 'emacs-otf' 'emacs-cvs' 'emacs-git' 'emacs-bzr')
20 replaces=()
21 backup=()
22 options=()
23 changelog=
24 source=("${url}emacs-$pkgver.tar.bz2")
25 noextract=()
26 md5sums=('057a0379f2f6b85fb114d8c723c79ce2') #generate with 'makepkg -g'
28 build() {
29   cd "$srcdir/emacs-$pkgver"
31   CFLAGS="-g -O2 -fno-optimize-sibling-calls" ./configure --prefix=/usr --without-pop --with-x-toolkit=gtk --without-xaw3d --without-gconf --with-x
32   make
35 package() {
36   cd "$srcdir/emacs-$pkgver"
38   make DESTDIR="$pkgdir/" install