diff options
author | root <root@rshg054.dnsready.net> | 2013-10-18 01:09:28 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-18 01:09:28 -0700 |
commit | cc1dbaab9d968ae5ace1956c3662b8b492694800 (patch) | |
tree | da9b8d35950f63d7a68e4d4e5938715e1f0f5cdb /pcr/ted | |
parent | c72dc5de577922ea7f6002cdabcfac1576eae211 (diff) |
Fri Oct 18 01:09:01 PDT 2013
Diffstat (limited to 'pcr/ted')
-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 +} |