diff options
author | willemw12 | 2015-06-08 12:47:25 +0200 |
---|---|---|
committer | willemw12 | 2015-06-08 12:47:25 +0200 |
commit | 026402f9ced0e0732bd2b7e42bd7c8fe1268537d (patch) | |
tree | 3e4eeb04e0b38b6b4db5bdd69a97c49cf1ee0a9b /PKGBUILD | |
download | aur-026402f9ced0e0732bd2b7e42bd7c8fe1268537d.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..77923fa721b2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,89 @@ +# Maintainer: willemw <willemw12@gmail.com> +# Contributor: shirokuro <tod dot jackson at gmail dot com> +# Contributor: sergej + +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 +} + |