updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / jed / PKGBUILD
blobaf8cd43b70e79e60cded1e85a80ad8cad0f5bd34
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Juergen Hoetzel <juergen@archlinux.org>
4 pkgname=jed
5 pkgver=0.99.19
6 _pkgver=0.99-19
7 pkgrel=2
8 pkgdesc="A freely available text editor for Unix and others OS"
9 arch=('i686' 'x86_64')
10 url="http://www.jedsoft.org/jed"
11 license=('GPL')
12 depends=('gpm' 'slang' 'libxft')
13 makedepends=('libxext' 'libxt')
14 options=('!makeflags')
15 source=("ftp://space.mit.edu/pub/davis/${pkgname}/v0.99/${pkgname}-${_pkgver}.tar.bz2")
16 md5sums=('c9b2f58a3defc6f61faa1ce7d6d629ea')
18 build() {
19   cd "${srcdir}/${pkgname}-${_pkgver}"
21   ./configure --prefix=/usr JED_ROOT=/usr/share/jed
23   sed \
24         -e "s_\(^all.*\)_\1 xjed rgrep_" \
25         -e "s_..DEST.*doc_${pkgdir}/usr/share/doc/${pkgname}_g" \
26         -i src/Makefile
28   make
31 package() {
32   cd "${srcdir}/${pkgname}-${_pkgver}"
34   make DESTDIR="${pkgdir}" install
36   # Install rgrep
37   install -Dm755 src/objs/rgrep "$pkgdir/usr/bin"