aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ted/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/ted/APKBUILD
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/ted/APKBUILD')
-rw-r--r--unmaintained/ted/APKBUILD82
1 files changed, 82 insertions, 0 deletions
diff --git a/unmaintained/ted/APKBUILD b/unmaintained/ted/APKBUILD
new file mode 100644
index 0000000000..e7279ef6ee
--- /dev/null
+++ b/unmaintained/ted/APKBUILD
@@ -0,0 +1,82 @@
+# Contributor: Isaac Dunham <ibid.ag@gmail.com>
+# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
+pkgname=ted
+pkgver=2.23
+pkgrel=1
+pkgdesc="An easy Rich Text Processor"
+url="http://www.nllgg.nl/Ted/"
+arch="all"
+license="GPL2+"
+depends="$pkgname-common"
+makedepends="pcre-dev motif-dev gtk+2.0-dev libx11-dev
+ libxpm-dev libpng-dev libjpeg-turbo-dev tiff-dev libpaper-dev "
+install=""
+subpackages="$pkgname-motif $pkgname-common $pkgname-doc"
+source="http://ftp.nluug.nl/pub/editors/ted/ted-$pkgver.src.tar.gz"
+
+_builddir="$srcdir"/Ted-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make -j1 CONFIGURE_OPTIONS="--with-MOTIF" compile.shared || return 1
+ cp Ted/Ted Ted.motif || return 1
+ make clean || return 1
+ make -j1 compile.shared || return 1
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"
+ make DESTDIR="$pkgdir" install || return 1
+ cp Ted.motif "$pkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/share/Ted/examples/rtf*.sh "$pkgdir"/usr/bin || \
+ return 1
+ mv "$pkgdir"/usr/share/Ted/doc/*.1 "$pkgdir"/usr/share/man/man1/ || \
+ return 1
+}
+
+
+motif() {
+ provides="ted=$pkgver-r$pkgrel"
+ depends="ted-common"
+ triggers="ted-motif.trigger=/usr/bin/Ted*"
+ pkgdesc="An easy Rich Text Processor (Motif version)"
+ mkdir -p "$subpkgdir"/usr/bin || return 1
+ mv "$pkgdir"/usr/bin/Ted.motif "$subpkgdir"/usr/bin || return 1
+}
+
+common() {
+ depends=""
+ arch="noarch"
+ mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/share/Ted || return 1
+ mv "$pkgdir"/usr/share/applications "$subpkgdir"/usr/share/ || return 1
+ mv "$pkgdir"/usr/share/Ted/afm/ "$pkgdir"/usr/share/Ted/config/ \
+ "$pkgdir"/usr/share/Ted/dfa/ "$pkgdir"/usr/share/Ted/Ted*.* \
+ "$subpkgdir"/usr/share/Ted/ || return 1
+ mv "$pkgdir"/usr/bin/*.sh "$subpkgdir"/usr/bin/ || return 1
+}
+
+doc() {
+ depends=""
+ mkdir -p "$subpkgdir"/usr/share/ || return 1
+ mv "$pkgdir"/usr/share/Ted "$subpkgdir"/usr/share || return 1
+ default_doc || return 1
+ if test -e "$subpkgdir"/usr/share/man/man1/Ted.1 -a \
+ -e "$subpkgdir"/usr/share/man/man1/Ted.1.gz
+ then
+ rm -f "$subpkgdir"/usr/share/man/man1/Ted.1 || return 1
+ fi
+}
+
+md5sums="4199df0deb82a90450135ec3f2b7d915 ted-2.23.src.tar.gz"
+sha256sums="3fa992c2bc96af3ca788ef941cb5314f4a1d843202efd0201b8b4ee9adbf316c ted-2.23.src.tar.gz"
+sha512sums="c6541e5a07545a08b30cb9b33429d9a7675f9252df32ccca5cdb4f2ff09978085d28d015a42922baf8c95db1ea6379a9d1088541aafd9ce45b8870212496849f ted-2.23.src.tar.gz"