summaryrefslogtreecommitdiff
path: root/community/lout/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lout/PKGBUILD')
-rw-r--r--community/lout/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/lout/PKGBUILD b/community/lout/PKGBUILD
new file mode 100644
index 000000000..df2dcfc35
--- /dev/null
+++ b/community/lout/PKGBUILD
@@ -0,0 +1,36 @@
+# $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"
+}
+