blob: 31cc072b7f09dc919f0ff52232467833c5978759 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Contributor: Daichi Shinozaki <dsdseg@gmail.com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=('jed-snapshot' 'xjed-snapshot' 'rgrep')
_pkgver=0.99.20-180
pkgver=${_pkgver//-/.}
_pkgname=${pkgname/-snapshot/}
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.jedsoft.org/snapshots/"
license=('GPL')
depends=('gpm' 'slang' 'libxft')
makedepends=('libxext' 'libxt')
source=("http://www.jedsoft.org/snapshots/jed-pre${_pkgver}.tar.gz")
sha256sums=('625d4c009f47c74c4e75fdae0386858965763da4ad24c273a668c0aa59d0af49')
install="$pkgname.install"
prepare() {
cd ${_pkgname}-pre${_pkgver}
sed \
-e "s|\(^all.*\)|\1 xjed rgrep|" \
-e "s|..DEST.*doc|${pkgdir}/usr/share/doc/${pkgname}|g" \
-i src/Makefile.in
}
build() {
cd ${_pkgname}-pre${_pkgver}
./configure --prefix=/usr JED_ROOT=/usr/share/jed
make
make xjed
}
package_jed-snapshot() {
pkgdesc="A freely available text editor - Latest development version"
provides=('jed')
conflicts=('jed')
cd ${_pkgname}-pre${_pkgver}
make DESTDIR="${pkgdir}" install
rm "$pkgdir"/usr/bin/xjed
}
package_xjed-snapshot() {
pkgdesc="A freely available text editor - Latest development version"
provides=('xjed' 'jed')
conflicts=('xjed' 'jed')
cd ${_pkgname}-pre${_pkgver}
make DESTDIR="${pkgdir}" install
rm "$pkgdir"/usr/bin/{jed,jed-script}
}
package_rgrep() {
pkgdesc="Recursive grep"
install -Dm755 ${_pkgname}-pre${_pkgver}/src/objs/rgrep "$pkgdir"/usr/bin/rgrep
}
|