blob: 0543e80aeff358c6c3db86d16d0422ca53f72ef8 (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
# Maintainer (Arch): willemw <willemw12@gmail.com>
# Contributor (Arch): shirokuro <tod dot jackson at gmail dot com>
# Contributor (Arch): sergej
# Maintainer: Parabola Aurélien DESBRIÈRES <aurelien@xload.IO>
pkgname=ted
pkgver=2.23
pkgrel=5
pkgdesc="Lightweight RTF text processor"
arch=('i686' 'x86_64')
url="http://www.nllgg.nl/Ted/"
depends=('freetype2' 'desktop-file-utils' 'gtk2' 'libjpeg' 'libpaper' 'libpng' 'libtiff' 'libxpm' 'pcre' 'zlib')
license=('GPL')
install=$pkgname.install
source=(http://ftp.nluug.nl/pub/editors/$pkgname/$pkgname-$pkgver.src.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_nl_NL.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_en_GB.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_de_DE.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_es_ES.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_es_AR.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_pt_PT.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_pt_BR.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_fr_FR.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_it_IT.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_cs_CZ.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_da_DK.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_sv_SE.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_nb_NO.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_pl_PL.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_sk_SK.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_hu_HU.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_mg_MG.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_bg_BG.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_ru_RU.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_hr_HR.tar.gz
http://ftp.nluug.nl/pub/editors/ted/ted_fi_FI.tar.gz
http://ftp.nluug.nl/pub/editors/ted/TedDocument-de_DE.rtf
http://ftp.nluug.nl/pub/editors/ted/TedDocument-fr_FR.rtf
http://ftp.nluug.nl/pub/editors/ted/TedDocument-mg_MG.rtf)
md5sums=('4199df0deb82a90450135ec3f2b7d915'
'e68939d2d8533491c8c14bd380d6650c'
'3f43d0fe3ac66f21943f547f2080e478'
'365d845cd318c426354c1743d7104341'
'18c278f719f6df68200a15e198c8a88e'
'5592f169ce8da6693f0b5ec37be9146a'
'4ee2915dd3d3ee6f402ab60212ee235c'
'0bef013ea7ae99897b0ae4779257207b'
'9ab767df1d476cbe93af9ba07d0b2992'
'412034b993f37f0c7bb8dbd4c0200618'
'28230070a46ea5a341cfe1600c66704b'
'b72a7444ff831c443152c4eb489263a1'
'e27b02e5196c59c038f4510a608c76df'
'c24cda500db0c8a9a6f9674d4e1e30d1'
'd6e33a8001561bc89becebd006283360'
'125791b19f33ed94727008d8563e652f'
'7c2db94442f9d1c5b2eb42157a9e01f3'
'674ccafc2121288f8d344976308bea4b'
'4e488f8025a793e5d171770dfa2f85d7'
'4a32b49850244be6ed973e810ca7467e'
'888f70f17c5f16c4bd1fc9fb8b954fb2'
'dd1bf4cf1142732a3152899e548101b0'
'fc92fda9a49aa309fefdf6a682028b2d'
'4efb63d391b1196983fdcc1bcf751bc7'
'63b39a2bd36790f2164cf80dfab603aa')
prepare() {
cd Ted-$pkgver
# Freetype2 include patch: remove leading 'freetype' directory path from #include statement
sed -i "s|^\(#[ \t]*include[ \t]*<\)freetype/|\1|" appFrame/appFontConfig.c
}
build() {
cd Ted-$pkgver
make
make package
}
package() {
install -dm755 "$pkgdir/usr/share/Ted"
install -m644 TedDocument-*_*.rtf "$pkgdir/usr/share/Ted"
cd Ted-$pkgver/tedPackage
DESTDIR="$pkgdir" make install
cd "$pkgdir"
for i in "$srcdir/"ted_*_*.tar.gz; do
tar xzf "$i"
done
}
|