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>
10 pkgdesc="Emacs without gconf"
11 arch=('i686' 'x86_64')
12 url="http://ftp.gnu.org/pub/gnu/emacs/"
15 depends=('libpng' 'libtiff' 'librsvg' 'giflib' 'gtk2' 'libxpm' 'libjpeg>=7' 'hicolor-icon-theme')
16 makedepends=('pkgconfig' 'texinfo' 'gpm')
18 provides=('emacs=$pkgver')
19 conflicts=('emacs' 'emacs-nox' 'emacs-otf' 'emacs-cvs' 'emacs-git' 'emacs-bzr')
24 source=("${url}emacs-$pkgver.tar.bz2")
26 md5sums=('057a0379f2f6b85fb114d8c723c79ce2') #generate with 'makepkg -g'
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
36 cd "$srcdir/emacs-$pkgver"
38 make DESTDIR="$pkgdir/" install