diff options
author | aurelien <aurelien@cwb.io> | 2013-10-17 18:20:04 +0200 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2013-10-17 18:20:04 +0200 |
commit | d11eec943110e9196bc447c08368bc0e3d5c9fe1 (patch) | |
tree | 7a162c149a9baa1e6024f9f5d236064f8105792c /pcr | |
parent | e5d8aaf1cbbae2d1cad5196fc04a694269a1c868 (diff) |
ted
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ted/PKGBUILD | 60 | ||||
-rw-r--r-- | pcr/ted/ted.install | 11 |
2 files changed, 71 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 +} + diff --git a/pcr/ted/ted.install b/pcr/ted/ted.install new file mode 100644 index 000000000..f98ba7338 --- /dev/null +++ b/pcr/ted/ted.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |