summaryrefslogtreecommitdiff
path: root/community-staging/ted/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-07 23:00:59 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-07 23:00:59 -0300
commit87bd9124ec1abd5c6171af47af93805b975343b6 (patch)
treef9732aabf9c46c6391409187f8ddf8cc5b005006 /community-staging/ted/PKGBUILD
parent96c65d8a0393645808ab5ea31776baa26209fc5f (diff)
parent0dee03071a0643c3ee5820afa3c694dcef71d385 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/beye/PKGBUILD community/xmlrpc-c/PKGBUILD extra/avidemux/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/gtk2/PKGBUILD extra/libvpx/PKGBUILD extra/libxfce4menu/PKGBUILD extra/libxml2/PKGBUILD extra/pixman/PKGBUILD extra/thunar-archive-plugin/PKGBUILD extra/thunar-volman/PKGBUILD extra/vdpau-video/PKGBUILD extra/xfce4-appfinder/PKGBUILD extra/xfce4-battery-plugin/PKGBUILD extra/xfce4-cpufreq-plugin/PKGBUILD extra/xfce4-cpugraph-plugin/PKGBUILD extra/xfce4-dict/PKGBUILD extra/xfce4-diskperf-plugin/PKGBUILD extra/xfce4-eyes-plugin/PKGBUILD extra/xfce4-fsguard-plugin/PKGBUILD extra/xfce4-mixer/PKGBUILD extra/xfce4-mount-plugin/PKGBUILD extra/xfce4-mpc-plugin/PKGBUILD extra/xfce4-power-manager/PKGBUILD extra/xfce4-systemload-plugin/PKGBUILD extra/xfce4-taskmanager/PKGBUILD extra/xfce4-time-out-plugin/PKGBUILD extra/xfce4-timer-plugin/PKGBUILD extra/xfce4-wavelan-plugin/PKGBUILD extra/xorg-luit/PKGBUILD extra/xorg-xfontsel/PKGBUILD extra/xulrunner/PKGBUILD kde-unstable/calligra/PKGBUILD libre/mplayer-vaapi-libre/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'community-staging/ted/PKGBUILD')
-rw-r--r--community-staging/ted/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community-staging/ted/PKGBUILD b/community-staging/ted/PKGBUILD
new file mode 100644
index 000000000..3634104b8
--- /dev/null
+++ b/community-staging/ted/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 63906 2012-02-06 17:24:53Z tdziedzic $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=ted
+pkgver=2.21
+pkgrel=5
+pkgdesc="An easy rich text processor (with footnote support)"
+arch=('i686' 'x86_64')
+url="http://www.nllgg.nl/Ted/"
+depends=('bash' 'libtiff' 'libxmu' 'libxpm' 'libpng' 'gtk2')
+license=('GPL')
+source=(ftp://ftp.nluug.nl/pub/editors/$pkgname/$pkgname-$pkgver.src.tar.gz
+ ted-2.21-libpng15.patch)
+md5sums=('34ae855938a3b364eb587cca504ba356'
+ '0c339b0fa7aec6b150e07e9027cd360c')
+
+build() {
+ cd "$srcdir/Ted-$pkgver"
+ sed -i "s|--with-GTK|--with-GTK --prefix=/usr/share|g" Makefile
+ patch -p0 -i ../ted-2.21-libpng15.patch
+ make compile.shared
+ make package.shared
+}
+
+package() {
+ cd "$srcdir/Ted-$pkgver"
+ mkdir -p "$pkgdir/usr/share/"
+ cd "$pkgdir/usr/share/"
+ tar -zxvf "$srcdir/Ted-$pkgver/tedPackage/ted-$pkgver-linux-$CARCH.tar.gz"
+ mv bin ../
+ mkdir -p "$pkgdir/usr/share/man/man1"
+ cd "$pkgdir/usr/share/Ted/"
+ mv Ted.1 rtf2pdf.1 rtf2ps.1 ../../share/man/man1/
+ sed -i "s|usr/local/afm|usr/share/Ted/afm|g" gsafm.sh
+ mv *.sh "$pkgdir/usr/bin/"
+}