summaryrefslogtreecommitdiff
path: root/community/lout
diff options
context:
space:
mode:
Diffstat (limited to 'community/lout')
-rw-r--r--community/lout/PKGBUILD36
-rw-r--r--community/lout/lout.install11
-rw-r--r--community/lout/makefile.arch45
3 files changed, 0 insertions, 92 deletions
diff --git a/community/lout/PKGBUILD b/community/lout/PKGBUILD
deleted file mode 100644
index df2dcfc35..000000000
--- a/community/lout/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 94153 2013-07-15 07:02:55Z kkeen $
-# Maintainer: Kyle Keen <keenerd@gmail.com>
-# Contributor: catwell <catwell@archlinux.us>
-
-pkgname=lout
-pkgver=3.40
-pkgrel=1
-pkgdesc="A lightweight document formatting system."
-arch=('i686' 'x86_64')
-url="http://lout.wiki.sourceforge.net/"
-license=('GPL')
-depends=('glibc')
-install=lout.install
-source=(http://mirrors.ctan.org/support/$pkgname/$pkgname-$pkgver.tar.gz
- makefile.arch
- lout.install
- http://pkgs.fedoraproject.org/repo/pkgs/lout/slides.pdf/6822c33e49a1dca0b090f297d404d7fa/slides.pdf)
-md5sums=('fd0fe084cebd07fc209d392a2d380755'
- '088a29ca16477a9a30da9fafc9391de8'
- '597cd52eb87ef6253cf769bed4db3952'
- '6822c33e49a1dca0b090f297d404d7fa')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- cp ../makefile.arch .
- make -f makefile.arch
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make -f makefile.arch PKGDIR="$pkgdir" install
- chmod 0775 "$pkgdir/usr/lib/lout/data/"
- chgrp users "$pkgdir/usr/lib/lout/data/"
- install -Dm644 "$srcdir/slides.pdf" "$pkgdir/usr/share/doc/$pkgname/introduction.pdf"
-}
-
diff --git a/community/lout/lout.install b/community/lout/lout.install
deleted file mode 100644
index e3688a219..000000000
--- a/community/lout/lout.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install()
-{
- /usr/bin/lout -x -s /usr/lib/lout/include/init
- chmod 0775 "/usr/lib/lout/data/"
- chgrp users "/usr/lib/lout/data/"
-}
-
-post_upgrade()
-{
- post_install $1
-}
diff --git a/community/lout/makefile.arch b/community/lout/makefile.arch
deleted file mode 100644
index e0cb63322..000000000
--- a/community/lout/makefile.arch
+++ /dev/null
@@ -1,45 +0,0 @@
-# Makefile for lout 3.38 on Arch Linux.
-# catwell <catwell@archlinux.us>
-
-PKGDIR = /
-COPTS = -ansi -pedantic -O3
-
-CFLAGS = -DOS_UNIX=1 -DOS_DOS=0 -DOS_MAC=0 -DDB_FIX=0 -DUSE_STAT=1 \
- -DSAFE_DFT=0 -DCOLLATE=1 -DLIB_DIR=\"/usr/lib/lout\" -DFONT_DIR=\"font\" \
- -DMAPS_DIR=\"maps\" -DINCL_DIR=\"include\" -DDATA_DIR=\"data\" -DHYPH_DIR=\"hyph\" \
- -DLOCALE_DIR=\"locale\" -DCHAR_IN=1 -DCHAR_OUT=0 -DLOCALE_ON=0 \
- -DASSERT_ON=1 $(COPTS) -DDEBUG_ON=0 -DPDF_COMPRESSION=1 -I/usr/lib/
-
-OBJS = z01.o z02.o z03.o z04.o z05.o z06.o z07.o z08.o \
- z09.o z10.o z11.o z12.o z13.o z14.o z15.o z16.o \
- z17.o z18.o z19.o z20.o z21.o z22.o z23.o z24.o \
- z25.o z26.o z27.o z28.o z29.o z30.o z31.o z32.o \
- z33.o z34.o z35.o z36.o z37.o z38.o z39.o z40.o \
- z41.o z42.o z43.o z44.o z45.o z46.o z47.o z48.o \
- z49.o z50.o z51.o z52.o
-
-arch: $(OBJS)
- gcc -o lout $(OBJS) /usr/lib/libz.a -lm
- gcc -o prg2lout prg2lout.c
-
-$(OBJS): externs.h
-
-externs.h:
-
-install: arch
- # lout
- install -Dm0755 lout $(PKGDIR)/usr/bin/lout
- set include data hyph font maps; \
- for i; do \
- install -d $(PKGDIR)/usr/lib/lout/$$i; \
- install -m0644 -t $(PKGDIR)/usr/lib/lout/$$i/ $$i/*; \
- done
- # prg2lout
- install -Dm0755 prg2lout $(PKGDIR)/usr/bin/prg2lout
- # man
- sed -i -e "s@<BINDIR>@/usr/bin@" -e "s@<LIBDIR>@/usr/lib/lout@" \
- -e "s@<LOUTDOCDIR>@/usr/doc/lout@" -e "s@<MANDIR>@/usr/share/man/man1@" \
- man/lout.1
- install -Dm0644 man/lout.1 $(PKGDIR)/usr/share/man/man1/lout.1
- install -Dm0644 man/prg2lout.1 $(PKGDIR)/usr/share/man/man1/prg2lout.1
-