blob: 92f5a1bbe556ab5d27092ae9c5a6bceffddb32f4 (
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
40
41
42
43
|
# Maintainer: Daichi Shinozaki <dsdseg@gmail.com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
pkgname=jed
pkgver=0.99.19
_pkgver=0.99-19
pkgrel=6
pkgdesc="A freely available text editor for Unix and others OS"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.jedsoft.org/jed"
license=('GPL')
depends=('gpm' 'slang' 'libxft')
makedepends=('libxext' 'libxt')
options=('!makeflags')
source=("ftp://space.mit.edu/pub/davis/${pkgname}/v0.99/${pkgname}-${_pkgver}.tar.bz2"
"$pkgname.install")
md5sums=('c9b2f58a3defc6f61faa1ce7d6d629ea'
'dd95161e54793bc082fa881d67886e21')
install="$pkgname.install"
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
./configure --prefix=/usr JED_ROOT=/usr/share/jed
sed \
-e "s|\(^all.*\)|\1 xjed rgrep|" \
-e "s|..DEST.*doc|${pkgdir}/usr/share/doc/${pkgname}|g" \
-i src/Makefile
make
}
package() {
cd "${srcdir}/${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}" install
# Install rgrep
install -Dm755 src/objs/rgrep "$pkgdir/usr/bin"
}
|