updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / gnuserv / PKGBUILD
blob0d6dd6f6b8bde7504c5abcace21fe6df7b7479e8
1 pkgname=gnuserv
2 pkgver=3.12.8
3 pkgrel=1
4 pkgdesc="gnuserv with gnu emacs compatability layer"
5 arch=('i686' 'x86_64')
6 url="http://meltin.net/hacks/emacs/"
7 license="GPL"
8 depends=('bash')
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=()
13 install="$pkgname.install"
14 source=(http://meltin.net/hacks/emacs/src/gnuserv-3.12.8.tar.gz)
15 md5sums=('3173682652726fa3685a4cf2193c27e4')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
19   ./configure --prefix=/usr
20   make || return 1
21   make prefix=$startdir/pkg/usr install
22   mkdir -p $startdir/pkg/usr/share/emacs/site-lisp
23   make prefix=$startdir/pkg/usr install-elisp
24   cp gnuserv-compat.el{,c} $startdir/pkg/usr/share/emacs/site-lisp/
25   cp devices.el{,c} $startdir/pkg/usr/share/emacs/site-lisp/