diff options
Diffstat (limited to 'pcr/ted/PKGBUILD')
-rw-r--r-- | pcr/ted/PKGBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/pcr/ted/PKGBUILD b/pcr/ted/PKGBUILD new file mode 100644 index 000000000..aa085dc62 --- /dev/null +++ b/pcr/ted/PKGBUILD @@ -0,0 +1,60 @@ +# Contributor: willemw <willemw12@gmail.com> +# Contributor: shirokuro <tod dot jackson at gmail dot com> +# Contributor: sergej +# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@xload.IO> + +pkgname=ted +pkgver=2.23 +pkgrel=2 +pkgdesc="A lightweight rtf text processor" +arch=('i686' 'x86_64') +url="http://www.nllgg.nl/Ted/" +depends=('zlib' 'pcre' 'libxpm' 'libjpeg' 'libtiff' 'libpng' 'gtk2' 'libpaper' 'desktop-file-utils') +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) + + +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 +} + |